#C77CFB#C77CFB

#C77CFB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.190 H 309.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C77CFB
RGBrgb(199, 124, 251)
HSLhsl(275, 94%, 74%)
HSVhsv(275, 51%, 98%)
CMYKcmyk(20.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(64.58, 51.30, -52.30)
CIE-LCHlch(64.58, 73.26, 314.45°)
OKLaboklab(71.6% 0.1214 -0.1463)
OKLCHoklch(71.6% 0.19 309.7)
XYZxyz(48.1701, 33.5232, 95.1811)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77CFB #B0FB7C
analogous
#877CFB #C77CFB #FB7CEF
triadic
#C77CFB #FBC77C #7CFBC7
tetradic
#C77CFB #FB877C #B0FB7C #7CEFFB
square
#C77CFB #FB877C #B0FB7C #7CEFFB
split-complementary
#C77CFB #EFFB7C #7CFB87
monochromatic
#9407F5 #AE41F9 #C77CFB #E0B7FD #F2E1FE

Accessibility & contrast

On white

2.73
#C77CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C77CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77CFB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77CFB#FFFFFF#000000##000000
##C77CFB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#C091B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77cfb;
/* rgb */ color: rgb(199, 124, 251);
/* oklch */ color: oklch(71.6% 0.190 309.7);
Tailwind
colors: {
  custom: {
    50: '#daa4fd',
    500: '#c77cfb',
    950: '#000000',
  },
}
SCSS
$custom: #c77cfb;
$custom-light: #daa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c77cfb",
  "rgb": {
    "r": 199,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 275.433,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71605,
    "c": 0.19013,
    "h": 309.7
  },
  "luminance": 0.33522
}

Semantic roles & 50–950 ramp

primary
#C77CFB
secondary
#E2F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C77CFB

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

Preview Lab → · Contrast checker → · Palette generator →

#C77CFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva