#C462CA#C462CA

#C462CA is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.0% C 0.179 H 325.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C462CA
RGBrgb(196, 98, 202)
HSLhsl(297, 50%, 59%)
HSVhsv(297, 51%, 79%)
CMYKcmyk(3%, 51.5%, 0%, 20.8%)
CIE-LABlab(56.82, 53.80, -37.18)
CIE-LCHlch(56.82, 65.39, 325.35°)
OKLaboklab(65.02% 0.1473 -0.1024)
OKLCHoklch(65.02% 0.179 325.2)
XYZxyz(37.7924, 24.7374, 58.6498)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462CA #68CA62
analogous
#9062CA #C462CA #CA629C
triadic
#C462CA #CAC462 #62CAC4
tetradic
#C462CA #CA9062 #68CA62 #629CCA
square
#C462CA #CA9062 #68CA62 #629CCA
split-complementary
#C462CA #9CCA62 #62CA90
monochromatic
#802D85 #AC3CB3 #C462CA #D590D9 #E6BEE9

Accessibility & contrast

On white

3.53
#C462CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C462CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462CA#FFFFFF#000000##000000
##C462CA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CD
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#C86F8D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c462ca;
/* rgb */ color: rgb(196, 98, 202);
/* oklch */ color: oklch(65.0% 0.179 325.2);
Tailwind
colors: {
  custom: {
    50: '#d893da',
    500: '#c462ca',
    950: '#000000',
  },
}
SCSS
$custom: #c462ca;
$custom-light: #d893da;
$custom-dark: #000000;
JSON
{
  "hex": "#c462ca",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 296.538,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.17944,
    "h": 325.2
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#C462CA
secondary
#B2D8AF
accent
#D94F57
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C462CA

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

Preview Lab → · Contrast checker → · Palette generator →

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