#C762DD#C762DD

#C762DD is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.199 H 320.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#C762DD
RGBrgb(199, 98, 221)
HSLhsl(289, 64%, 63%)
HSVhsv(289, 56%, 87%)
CMYKcmyk(10%, 55.7%, 0%, 13.3%)
CIE-LABlab(58.13, 58.17, -45.84)
CIE-LCHlch(58.13, 74.06, 321.76°)
OKLaboklab(66.36% 0.1528 -0.1274)
OKLCHoklch(66.36% 0.199 320.2)
XYZxyz(40.9704, 26.0997, 71.2722)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762DD #78DD62
analogous
#8962DD #C762DD #DD62B6
triadic
#C762DD #DDC762 #62DDC7
tetradic
#C762DD #DD8962 #78DD62 #62B6DD
square
#C762DD #DD8962 #78DD62 #62B6DD
split-complementary
#C762DD #B6DD62 #62DD89
monochromatic
#8B23A2 #B530D2 #C762DD #D994E8 #EBC7F3

Accessibility & contrast

On white

3.38
#C762DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#C762DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762DD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762DD#FFFFFF#000000##000000
##C762DD1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#C87496
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c762dd;
/* rgb */ color: rgb(199, 98, 221);
/* oklch */ color: oklch(66.4% 0.199 320.2);
Tailwind
colors: {
  custom: {
    50: '#db93e8',
    500: '#c762dd',
    950: '#000000',
  },
}
SCSS
$custom: #c762dd;
$custom-light: #db93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c762dd",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 289.268,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.19894,
    "h": 320.2
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#C762DD
secondary
#BFE4B7
accent
#CC1939
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C762DD

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

Preview Lab → · Contrast checker → · Palette generator →

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