#C77BEC#C77BEC

#C77BEC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.175 H 313.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C77BEC
RGBrgb(199, 123, 236)
HSLhsl(280, 75%, 70%)
HSVhsv(280, 48%, 93%)
CMYKcmyk(15.7%, 47.9%, 0%, 7.5%)
CIE-LABlab(63.64, 48.63, -45.51)
CIE-LCHlch(63.64, 66.60, 316.90°)
OKLaboklab(70.67% 0.1211 -0.1266)
OKLCHoklch(70.67% 0.175 313.7)
XYZxyz(45.7740, 32.3653, 83.1764)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77BEC #A0EC7B
analogous
#8E7BEC #C77BEC #EC7BD8
triadic
#C77BEC #ECC77B #7BECC7
tetradic
#C77BEC #EC8E7B #A0EC7B #7BD8EC
square
#C77BEC #EC8E7B #A0EC7B #7BD8EC
split-complementary
#C77BEC #D8EC7B #7BEC8E
monochromatic
#951ECF #B046E4 #C77BEC #DEB0F4 #F4E4FB

Accessibility & contrast

On white

2.81
#C77BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C77BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77BEC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77BEC#FFFFFF#000000##000000
##C77BEC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#C48CA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c77bec;
/* rgb */ color: rgb(199, 123, 236);
/* oklch */ color: oklch(70.7% 0.175 313.7);
Tailwind
colors: {
  custom: {
    50: '#daa3f2',
    500: '#c77bec',
    950: '#000000',
  },
}
SCSS
$custom: #c77bec;
$custom-light: #daa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c77bec",
  "rgb": {
    "r": 199,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 280.354,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70669,
    "c": 0.1752,
    "h": 313.7
  },
  "luminance": 0.32364
}

Semantic roles & 50–950 ramp

primary
#C77BEC
secondary
#DCF1D2
accent
#D70F50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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