#C462F8#C462F8

#C462F8 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.224 H 312.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C462F8
RGBrgb(196, 98, 248)
HSLhsl(279, 91%, 68%)
HSVhsv(279, 60%, 97%)
CMYKcmyk(21%, 60.5%, 0%, 2.7%)
CIE-LABlab(59.20, 62.85, -59.23)
CIE-LCHlch(59.20, 86.36, 316.70°)
OKLaboklab(67.53% 0.1501 -0.1665)
OKLCHoklch(67.53% 0.224 312)
XYZxyz(44.0729, 27.2495, 91.7267)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462F8 #96F862
analogous
#7962F8 #C462F8 #F862E1
triadic
#C462F8 #F8C462 #62F8C4
tetradic
#C462F8 #F87962 #96F862 #62E1F8
square
#C462F8 #F87962 #96F862 #62E1F8
split-complementary
#C462F8 #E1F862 #62F879
monochromatic
#8F0AD6 #AE27F5 #C462F8 #DA9DFB #F0D7FD

Accessibility & contrast

On white

3.26
#C462F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C462F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462F8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462F8#FFFFFF#000000##000000
##C462F81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#5691F4
Tritanopia (blue-blind)
#BE7EA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c462f8;
/* rgb */ color: rgb(196, 98, 248);
/* oklch */ color: oklch(67.5% 0.224 312.0);
Tailwind
colors: {
  custom: {
    50: '#d994fb',
    500: '#c462f8',
    950: '#000000',
  },
}
SCSS
$custom: #c462f8;
$custom-light: #d994fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c462f8",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 279.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.2242,
    "h": 312
  },
  "luminance": 0.27248
}

Semantic roles & 50–950 ramp

primary
#C462F8
secondary
#D4F2C4
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C462F8

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

Preview Lab → · Contrast checker → · Palette generator →

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