#C77DFD#C77DFD

#C77DFD is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.191 H 309.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C77DFD
RGBrgb(199, 125, 253)
HSLhsl(275, 97%, 74%)
HSVhsv(275, 51%, 99%)
CMYKcmyk(21.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(64.88, 51.22, -52.91)
CIE-LCHlch(64.88, 73.64, 314.07°)
OKLaboklab(71.86% 0.1203 -0.1481)
OKLCHoklch(71.86% 0.191 309.1)
XYZxyz(48.6130, 33.9019, 96.8923)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77DFD #B3FD7D
analogous
#877DFD #C77DFD #FD7DF3
triadic
#C77DFD #FDC77D #7DFDC7
tetradic
#C77DFD #FD877D #B3FD7D #7DF3FD
square
#C77DFD #FD877D #B3FD7D #7DF3FD
split-complementary
#C77DFD #F3FD7D #7DFD87
monochromatic
#9304FB #AD41FC #C77DFD #E1B9FE #F2E1FF

Accessibility & contrast

On white

2.70
#C77DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C77DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77DFD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77DFD#FFFFFF#000000##000000
##C77DFD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#C093B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77dfd;
/* rgb */ color: rgb(199, 125, 253);
/* oklch */ color: oklch(71.9% 0.191 309.1);
Tailwind
colors: {
  custom: {
    50: '#dba5fe',
    500: '#c77dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c77dfd;
$custom-light: #dba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77dfd",
  "rgb": {
    "r": 199,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 274.688,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71862,
    "c": 0.19081,
    "h": 309.1
  },
  "luminance": 0.33901
}

Semantic roles & 50–950 ramp

primary
#C77DFD
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C77DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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