#C762E7#C762E7

#C762E7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.9% C 0.209 H 317.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#C762E7
RGBrgb(199, 98, 231)
HSLhsl(286, 73%, 65%)
HSVhsv(286, 58%, 91%)
CMYKcmyk(13.9%, 57.6%, 0%, 9.4%)
CIE-LABlab(58.65, 60.11, -50.63)
CIE-LCHlch(58.65, 78.60, 319.89°)
OKLaboklab(66.91% 0.1534 -0.1413)
OKLCHoklch(66.91% 0.209 317.3)
XYZxyz(42.3426, 26.6486, 78.4991)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762E7 #82E762
analogous
#8562E7 #C762E7 #E762C5
triadic
#C762E7 #E7C762 #62E7C7
tetradic
#C762E7 #E78562 #82E762 #62C5E7
square
#C762E7 #E78562 #82E762 #62C5E7
split-complementary
#C762E7 #C5E762 #62E785
monochromatic
#8F1BB3 #B42DDF #C762E7 #DA97EF #EDCCF7

Accessibility & contrast

On white

3.32
#C762E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#C762E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762E7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762E7#FFFFFF#000000##000000
##C762E71.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#C6789B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c762e7;
/* rgb */ color: rgb(199, 98, 231);
/* oklch */ color: oklch(66.9% 0.209 317.3);
Tailwind
colors: {
  custom: {
    50: '#db93ef',
    500: '#c762e7',
    950: '#000000',
  },
}
SCSS
$custom: #c762e7;
$custom-light: #db93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c762e7",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 285.564,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66906,
    "c": 0.20858,
    "h": 317.3
  },
  "luminance": 0.26647
}

Semantic roles & 50–950 ramp

primary
#C762E7
secondary
#C6E9BB
accent
#D6103F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C762E7

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

Preview Lab → · Contrast checker → · Palette generator →

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