#C77DF2#C77DF2

#C77DF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.3% C 0.179 H 311.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C77DF2
RGBrgb(199, 125, 242)
HSLhsl(278, 82%, 72%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(64.34, 48.85, -47.73)
CIE-LCHlch(64.34, 68.29, 315.66°)
OKLaboklab(71.28% 0.1191 -0.133)
OKLCHoklch(71.28% 0.179 311.8)
XYZxyz(46.9110, 33.2211, 87.9283)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77DF2 #A8F27D
analogous
#8D7DF2 #C77DF2 #F27DE2
triadic
#C77DF2 #F2C77D #7DF2C7
tetradic
#C77DF2 #F28D7D #A8F27D #7DE2F2
square
#C77DF2 #F28D7D #A8F27D #7DE2F2
split-complementary
#C77DF2 #E2F27D #7DF28D
monochromatic
#9516DE #AF45EC #C77DF2 #DFB5F8 #F3E3FC

Accessibility & contrast

On white

2.75
#C77DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C77DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77DF2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77DF2#FFFFFF#000000##000000
##C77DF21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C290AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77df2;
/* rgb */ color: rgb(199, 125, 242);
/* oklch */ color: oklch(71.3% 0.179 311.8);
Tailwind
colors: {
  custom: {
    50: '#daa4f7',
    500: '#c77df2',
    950: '#000000',
  },
}
SCSS
$custom: #c77df2;
$custom-light: #daa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c77df2",
  "rgb": {
    "r": 199,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 277.949,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7128,
    "c": 0.17859,
    "h": 311.8
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#C77DF2
secondary
#E2F4D7
accent
#DE0756
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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