#7727C4#7727C4

#7727C4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.222 H 301.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7727C4
RGBrgb(119, 39, 196)
HSLhsl(271, 67%, 46%)
HSVhsv(271, 80%, 77%)
CMYKcmyk(39.3%, 80.1%, 0%, 23.1%)
CIE-LABlab(36.67, 61.68, -66.58)
CIE-LCHlch(36.67, 90.76, 312.81°)
OKLaboklab(48.23% 0.1149 -0.1903)
OKLCHoklch(48.23% 0.222 301.1)
XYZxyz(18.2946, 9.3584, 53.0564)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727C4 #74C427
analogous
#2827C4 #7727C4 #C427C2
triadic
#7727C4 #C47727 #27C477
tetradic
#7727C4 #C42827 #74C427 #27C2C4
square
#7727C4 #C42827 #74C427 #27C2C4
split-complementary
#7727C4 #C2C427 #27C428
monochromatic
#39135E #581D91 #7727C4 #954DDC #B480E6

Accessibility & contrast

On white

7.31
#7727C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7727C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727C4#FFFFFF#000000##FFFFFF
##7727C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#655376
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7727c4;
/* rgb */ color: rgb(119, 39, 196);
/* oklch */ color: oklch(48.2% 0.222 301.1);
Tailwind
colors: {
  custom: {
    50: '#a56cd7',
    500: '#7727c4',
    950: '#000000',
  },
}
SCSS
$custom: #7727c4;
$custom-light: #a56cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7727c4",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 270.573,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.22229,
    "h": 301.1
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#7727C4
secondary
#A3CE79
accent
#EA3E92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7727C4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7727C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva