#C762FD#C762FD

#C762FD is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 68.2% C 0.230 H 311.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#C762FD
RGBrgb(199, 98, 253)
HSLhsl(279, 97%, 69%)
HSVhsv(279, 61%, 99%)
CMYKcmyk(21.3%, 61.3%, 0%, 0.8%)
CIE-LABlab(59.86, 64.57, -60.92)
CIE-LCHlch(59.86, 88.77, 316.67°)
OKLaboklab(68.18% 0.1536 -0.1714)
OKLCHoklch(68.18% 0.23 311.9)
XYZxyz(45.6473, 27.9705, 95.9037)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762FD #98FD62
analogous
#7A62FD #C762FD #FD62E5
triadic
#C762FD #FDC762 #62FDC7
tetradic
#C762FD #FD7A62 #98FD62 #62E5FD
square
#C762FD #FD7A62 #98FD62 #62E5FD
split-complementary
#C762FD #E5FD62 #62FD7A
monochromatic
#9403E2 #B126FC #C762FD #DD9EFE #F2DBFF

Accessibility & contrast

On white

3.18
#C762FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#C762FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762FD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762FD#FFFFFF#000000##000000
##C762FD1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#208BFF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#C17FA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c762fd;
/* rgb */ color: rgb(199, 98, 253);
/* oklch */ color: oklch(68.2% 0.230 311.9);
Tailwind
colors: {
  custom: {
    50: '#dc94ff',
    500: '#c762fd',
    950: '#000000',
  },
}
SCSS
$custom: #c762fd;
$custom-light: #dc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c762fd",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 279.097,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68181,
    "c": 0.23019,
    "h": 311.9
  },
  "luminance": 0.27969
}

Semantic roles & 50–950 ramp

primary
#C762FD
secondary
#D6F4C6
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C762FD

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

Preview Lab → · Contrast checker → · Palette generator →

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