#C762FC#C762FC

#C762FC is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 68.1% C 0.229 H 312.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C762FC
RGBrgb(199, 98, 252)
HSLhsl(279, 96%, 69%)
HSVhsv(279, 61%, 99%)
CMYKcmyk(21%, 61.1%, 0%, 1.2%)
CIE-LABlab(59.80, 64.36, -60.46)
CIE-LCHlch(59.80, 88.30, 316.79°)
OKLaboklab(68.12% 0.1537 -0.1701)
OKLCHoklch(68.12% 0.229 312.1)
XYZxyz(45.4884, 27.9069, 95.0669)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762FC #97FC62
analogous
#7A62FC #C762FC #FC62E4
triadic
#C762FC #FCC762 #62FCC7
tetradic
#C762FC #FC7A62 #97FC62 #62E4FC
square
#C762FC #FC7A62 #97FC62 #62E4FC
split-complementary
#C762FC #E4FC62 #62FC7A
monochromatic
#9404DF #B226FB #C762FC #DC9EFD #F2DAFE

Accessibility & contrast

On white

3.19
#C762FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#C762FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762FC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762FC#FFFFFF#000000##000000
##C762FC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#C17FA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c762fc;
/* rgb */ color: rgb(199, 98, 252);
/* oklch */ color: oklch(68.1% 0.229 312.1);
Tailwind
colors: {
  custom: {
    50: '#dc94fe',
    500: '#c762fc',
    950: '#000000',
  },
}
SCSS
$custom: #c762fc;
$custom-light: #dc94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c762fc",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 279.351,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68121,
    "c": 0.2292,
    "h": 312.1
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C762FC

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

Preview Lab → · Contrast checker → · Palette generator →

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