#C462DB#C462DB

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

Color values

HEX#C462DB
RGBrgb(196, 98, 219)
HSLhsl(289, 63%, 62%)
HSVhsv(289, 55%, 86%)
CMYKcmyk(10.5%, 55.3%, 0%, 14.1%)
CIE-LABlab(57.64, 57.01, -45.51)
CIE-LCHlch(57.64, 72.95, 321.40°)
OKLaboklab(65.89% 0.1491 -0.1265)
OKLCHoklch(65.89% 0.196 319.7)
XYZxyz(39.9172, 25.5873, 69.8403)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462DB #79DB62
analogous
#8862DB #C462DB #DB62B6
triadic
#C462DB #DBC462 #62DBC4
tetradic
#C462DB #DB8862 #79DB62 #62B6DB
square
#C462DB #DB8862 #79DB62 #62B6DB
split-complementary
#C462DB #B6DB62 #62DB88
monochromatic
#87249E #B130D0 #C462DB #D794E6 #E9C6F2

Accessibility & contrast

On white

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

On black

6.12
#C462DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462DB#FFFFFF#000000##000000
##C462DB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#C57495
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c462db;
/* rgb */ color: rgb(196, 98, 219);
/* oklch */ color: oklch(65.9% 0.196 319.7);
Tailwind
colors: {
  custom: {
    50: '#d893e6',
    500: '#c462db',
    950: '#000000',
  },
}
SCSS
$custom: #c462db;
$custom-light: #d893e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c462db",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 288.595,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.19558,
    "h": 319.7
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#C462DB
secondary
#BFE3B6
accent
#CA1B3C
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C462DB

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

Preview Lab → · Contrast checker → · Palette generator →

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