#C462DC#C462DC

#C462DC is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.197 H 319.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#C462DC
RGBrgb(196, 98, 220)
HSLhsl(288, 64%, 62%)
HSVhsv(288, 55%, 86%)
CMYKcmyk(10.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(57.69, 57.20, -45.99)
CIE-LCHlch(57.69, 73.40, 321.20°)
OKLaboklab(65.94% 0.1492 -0.1279)
OKLCHoklch(65.94% 0.197 319.4)
XYZxyz(40.0492, 25.6401, 70.5357)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462DC #7ADC62
analogous
#8762DC #C462DC #DC62B7
triadic
#C462DC #DCC462 #62DCC4
tetradic
#C462DC #DC8762 #7ADC62 #62B7DC
square
#C462DC #DC8762 #7ADC62 #62B7DC
split-complementary
#C462DC #B7DC62 #62DC87
monochromatic
#8724A0 #B130D1 #C462DC #D794E7 #EAC6F2

Accessibility & contrast

On white

3.43
#C462DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#C462DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462DC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462DC#FFFFFF#000000##000000
##C462DC1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#C57496
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c462dc;
/* rgb */ color: rgb(196, 98, 220);
/* oklch */ color: oklch(65.9% 0.197 319.4);
Tailwind
colors: {
  custom: {
    50: '#d893e7',
    500: '#c462dc',
    950: '#000000',
  },
}
SCSS
$custom: #c462dc;
$custom-light: #d893e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c462dc",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 288.197,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65943,
    "c": 0.19655,
    "h": 319.4
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#C462DC
secondary
#BFE3B7
accent
#CB1A3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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