#C462F6#C462F6

#C462F6 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.4% C 0.222 H 312.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C462F6
RGBrgb(196, 98, 246)
HSLhsl(280, 89%, 67%)
HSVhsv(280, 60%, 96%)
CMYKcmyk(20.3%, 60.2%, 0%, 3.5%)
CIE-LABlab(59.09, 62.43, -58.30)
CIE-LCHlch(59.09, 85.42, 316.96°)
OKLaboklab(67.41% 0.1501 -0.1638)
OKLCHoklch(67.41% 0.222 312.5)
XYZxyz(43.7642, 27.1261, 90.1014)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462F6 #94F662
analogous
#7A62F6 #C462F6 #F662DE
triadic
#C462F6 #F6C462 #62F6C4
tetradic
#C462F6 #F67A62 #94F662 #62DEF6
square
#C462F6 #F67A62 #94F662 #62DEF6
split-complementary
#C462F6 #DEF662 #62F67A
monochromatic
#8F0CD2 #AE28F3 #C462F6 #DA9CF9 #F0D6FD

Accessibility & contrast

On white

3.27
#C462F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C462F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462F6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462F6#FFFFFF#000000##000000
##C462F61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FB
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#BF7DA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c462f6;
/* rgb */ color: rgb(196, 98, 246);
/* oklch */ color: oklch(67.4% 0.222 312.5);
Tailwind
colors: {
  custom: {
    50: '#d994fa',
    500: '#c462f6',
    950: '#000000',
  },
}
SCSS
$custom: #c462f6;
$custom-light: #d994fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c462f6",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 279.73,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67414,
    "c": 0.2222,
    "h": 312.5
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#C462F6
secondary
#D2F1C3
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C462F6

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

Preview Lab → · Contrast checker → · Palette generator →

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