#7727C1#7727C1

#7727C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.219 H 301.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7727C1
RGBrgb(119, 39, 193)
HSLhsl(271, 66%, 45%)
HSVhsv(271, 80%, 76%)
CMYKcmyk(38.3%, 79.8%, 0%, 24.3%)
CIE-LABlab(36.41, 60.99, -65.24)
CIE-LCHlch(36.41, 89.31, 313.07°)
OKLaboklab(47.97% 0.1158 -0.1864)
OKLCHoklch(47.97% 0.219 301.9)
XYZxyz(17.9566, 9.2231, 51.2760)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727C1 #71C127
analogous
#2A27C1 #7727C1 #C127BE
triadic
#7727C1 #C17727 #27C177
tetradic
#7727C1 #C12A27 #71C127 #27BEC1
square
#7727C1 #C12A27 #71C127 #27BEC1
split-complementary
#7727C1 #BEC127 #27C12A
monochromatic
#38125B #581D8E #7727C1 #954BDB #B37EE5

Accessibility & contrast

On white

7.38
#7727C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7727C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727C1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727C1#FFFFFF#000000##FFFFFF
##7727C11.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#675175
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7727c1;
/* rgb */ color: rgb(119, 39, 193);
/* oklch */ color: oklch(48.0% 0.219 301.9);
Tailwind
colors: {
  custom: {
    50: '#a56bd5',
    500: '#7727c1',
    950: '#000000',
  },
}
SCSS
$custom: #7727c1;
$custom-light: #a56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7727c1",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 271.169,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.2194,
    "h": 301.9
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#7727C1
secondary
#A0CD77
accent
#E93E91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7727C1

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

Preview Lab → · Contrast checker → · Palette generator →

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