#C762DF#C762DF

#C762DF is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.5% C 0.201 H 319.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C762DF
RGBrgb(199, 98, 223)
HSLhsl(288, 66%, 63%)
HSVhsv(288, 56%, 87%)
CMYKcmyk(10.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(58.23, 58.55, -46.80)
CIE-LCHlch(58.23, 74.96, 321.36°)
OKLaboklab(66.47% 0.1529 -0.1302)
OKLCHoklch(66.47% 0.201 319.6)
XYZxyz(41.2385, 26.2069, 72.6839)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762DF #7ADF62
analogous
#8862DF #C762DF #DF62B8
triadic
#C762DF #DFC762 #62DFC7
tetradic
#C762DF #DF8862 #7ADF62 #62B8DF
square
#C762DF #DF8862 #7ADF62 #62B8DF
split-complementary
#C762DF #B8DF62 #62DF88
monochromatic
#8C22A5 #B52FD5 #C762DF #D995E9 #EBC8F4

Accessibility & contrast

On white

3.36
#C762DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#C762DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762DF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762DF#FFFFFF#000000##000000
##C762DF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#C87597
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c762df;
/* rgb */ color: rgb(199, 98, 223);
/* oklch */ color: oklch(66.5% 0.201 319.6);
Tailwind
colors: {
  custom: {
    50: '#db93e9',
    500: '#c762df',
    950: '#000000',
  },
}
SCSS
$custom: #c762df;
$custom-light: #db93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c762df",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 288.48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.20086,
    "h": 319.6
  },
  "luminance": 0.26205
}

Semantic roles & 50–950 ramp

primary
#C762DF
secondary
#C1E5B8
accent
#CE173B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C762DF

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

Preview Lab → · Contrast checker → · Palette generator →

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