#C77BFB#C77BFB

#C77BFB is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.192 H 309.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C77BFB
RGBrgb(199, 123, 251)
HSLhsl(276, 94%, 73%)
HSVhsv(276, 51%, 98%)
CMYKcmyk(20.7%, 51%, 0%, 1.6%)
CIE-LABlab(64.38, 51.82, -52.61)
CIE-LCHlch(64.38, 73.85, 314.57°)
OKLaboklab(71.46% 0.1227 -0.1473)
OKLCHoklch(71.46% 0.192 309.8)
XYZxyz(48.0455, 33.2739, 95.1396)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77BFB #AFFB7B
analogous
#877BFB #C77BFB #FB7BEF
triadic
#C77BFB #FBC77B #7BFBC7
tetradic
#C77BFB #FB877B #AFFB7B #7BEFFB
square
#C77BFB #FB877B #AFFB7B #7BEFFB
split-complementary
#C77BFB #EFFB7B #7BFB87
monochromatic
#9407F4 #AE40F9 #C77BFB #E0B6FD #F2E1FE

Accessibility & contrast

On white

2.74
#C77BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C77BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77BFB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77BFB#FFFFFF#000000##000000
##C77BFB1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#C091B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77bfb;
/* rgb */ color: rgb(199, 123, 251);
/* oklch */ color: oklch(71.5% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#dba3fd',
    500: '#c77bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c77bfb;
$custom-light: #dba3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c77bfb",
  "rgb": {
    "r": 199,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 275.625,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71457,
    "c": 0.19168,
    "h": 309.8
  },
  "luminance": 0.33273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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