#C77BFC#C77BFC

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

Color values

HEX#C77BFC
RGBrgb(199, 123, 252)
HSLhsl(275, 96%, 74%)
HSVhsv(275, 51%, 99%)
CMYKcmyk(21%, 51.2%, 0%, 1.2%)
CIE-LABlab(64.43, 52.04, -53.08)
CIE-LCHlch(64.43, 74.34, 314.43°)
OKLaboklab(71.51% 0.1228 -0.1486)
OKLCHoklch(71.51% 0.193 309.6)
XYZxyz(48.2035, 33.3371, 95.9719)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77BFC #B0FC7B
analogous
#867BFC #C77BFC #FC7BF0
triadic
#C77BFC #FCC77B #7BFCC7
tetradic
#C77BFC #FC867B #B0FC7B #7BF0FC
square
#C77BFC #FC867B #B0FC7B #7BF0FC
split-complementary
#C77BFC #F0FC7B #7BFC86
monochromatic
#9406F7 #AE3FFB #C77BFC #E0B7FD #F2E1FE

Accessibility & contrast

On white

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

On black

7.67
#C77BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77BFC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77BFC#FFFFFF#000000##000000
##C77BFC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c77bfc;
/* rgb */ color: rgb(199, 123, 252);
/* oklch */ color: oklch(71.5% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#dba3fe',
    500: '#c77bfc',
    950: '#000000',
  },
}
SCSS
$custom: #c77bfc;
$custom-light: #dba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77bfc",
  "rgb": {
    "r": 199,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 275.349,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71511,
    "c": 0.19278,
    "h": 309.6
  },
  "luminance": 0.33336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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