#C77BF8#C77BF8

#C77BF8 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.188 H 310.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C77BF8
RGBrgb(199, 123, 248)
HSLhsl(276, 90%, 73%)
HSVhsv(276, 50%, 97%)
CMYKcmyk(19.8%, 50.4%, 0%, 2.7%)
CIE-LABlab(64.23, 51.18, -51.21)
CIE-LCHlch(64.23, 72.39, 314.98°)
OKLaboklab(71.3% 0.1224 -0.1431)
OKLCHoklch(71.3% 0.188 310.5)
XYZxyz(47.5763, 33.0862, 92.6687)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77BF8 #ACF87B
analogous
#887BF8 #C77BF8 #F87BEA
triadic
#C77BF8 #F8C77B #7BF8C7
tetradic
#C77BF8 #F8887B #ACF87B #7BEAF8
square
#C77BF8 #F8887B #ACF87B #7BEAF8
split-complementary
#C77BF8 #EAF87B #7BF888
monochromatic
#940DEC #AE41F5 #C77BF8 #E0B5FB #F3E2FD

Accessibility & contrast

On white

2.76
#C77BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C77BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77BF8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77BF8#FFFFFF#000000##000000
##C77BF81.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#C190AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77bf8;
/* rgb */ color: rgb(199, 123, 248);
/* oklch */ color: oklch(71.3% 0.188 310.5);
Tailwind
colors: {
  custom: {
    50: '#daa3fb',
    500: '#c77bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c77bf8;
$custom-light: #daa3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c77bf8",
  "rgb": {
    "r": 199,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 276.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.18836,
    "h": 310.5
  },
  "luminance": 0.33085
}

Semantic roles & 50–950 ramp

primary
#C77BF8
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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