#C762FB#C762FB

#C762FB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 68.1% C 0.228 H 312.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#C762FB
RGBrgb(199, 98, 251)
HSLhsl(280, 95%, 68%)
HSVhsv(280, 61%, 98%)
CMYKcmyk(20.7%, 61%, 0%, 1.6%)
CIE-LABlab(59.75, 64.15, -60.00)
CIE-LCHlch(59.75, 87.84, 316.92°)
OKLaboklab(68.06% 0.1537 -0.1687)
OKLCHoklch(68.06% 0.228 312.3)
XYZxyz(45.3304, 27.8437, 94.2345)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762FB #96FB62
analogous
#7A62FB #C762FB #FB62E2
triadic
#C762FB #FBC762 #62FBC7
tetradic
#C762FB #FB7A62 #96FB62 #62E2FB
square
#C762FB #FB7A62 #96FB62 #62E2FB
split-complementary
#C762FB #E2FB62 #62FB7A
monochromatic
#9406DD #B226F9 #C762FB #DC9EFD #F2D9FE

Accessibility & contrast

On white

3.20
#C762FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#C762FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762FB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762FB#FFFFFF#000000##000000
##C762FB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#C17FA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c762fb;
/* rgb */ color: rgb(199, 98, 251);
/* oklch */ color: oklch(68.1% 0.228 312.3);
Tailwind
colors: {
  custom: {
    50: '#dc94fd',
    500: '#c762fb',
    950: '#000000',
  },
}
SCSS
$custom: #c762fb;
$custom-light: #dc94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c762fb",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 279.608,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68061,
    "c": 0.22822,
    "h": 312.3
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#C762FB
secondary
#D5F3C5
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C762FB

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

Preview Lab → · Contrast checker → · Palette generator →

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