#C462DF#C462DF

#C462DF is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.1% C 0.199 H 318.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#C462DF
RGBrgb(196, 98, 223)
HSLhsl(287, 66%, 63%)
HSVhsv(287, 56%, 87%)
CMYKcmyk(12.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(57.85, 57.79, -47.44)
CIE-LCHlch(57.85, 74.77, 320.62°)
OKLaboklab(66.11% 0.1494 -0.1321)
OKLCHoklch(66.11% 0.199 318.5)
XYZxyz(40.4501, 25.8004, 72.6470)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462DF #7DDF62
analogous
#8562DF #C462DF #DF62BB
triadic
#C462DF #DFC462 #62DFC4
tetradic
#C462DF #DF8562 #7DDF62 #62BBDF
square
#C462DF #DF8562 #7DDF62 #62BBDF
split-complementary
#C462DF #BBDF62 #62DF85
monochromatic
#8922A5 #B12FD5 #C462DF #D795E9 #EAC8F4

Accessibility & contrast

On white

3.41
#C462DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#C462DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462DF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462DF#FFFFFF#000000##000000
##C462DF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#C47597
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c462df;
/* rgb */ color: rgb(196, 98, 223);
/* oklch */ color: oklch(66.1% 0.199 318.5);
Tailwind
colors: {
  custom: {
    50: '#d993e9',
    500: '#c462df',
    950: '#000000',
  },
}
SCSS
$custom: #c462df;
$custom-light: #d993e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c462df",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 287.04,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66105,
    "c": 0.19947,
    "h": 318.5
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#C462DF
secondary
#C2E5B8
accent
#CE173F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C462DF

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

Preview Lab → · Contrast checker → · Palette generator →

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