#C462FC#C462FC

#C462FC is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.8% C 0.228 H 311.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C462FC
RGBrgb(196, 98, 252)
HSLhsl(278, 96%, 69%)
HSVhsv(278, 61%, 99%)
CMYKcmyk(22.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(59.43, 63.68, -61.07)
CIE-LCHlch(59.43, 88.23, 316.20°)
OKLaboklab(67.77% 0.15 -0.1719)
OKLCHoklch(67.77% 0.228 311.1)
XYZxyz(44.7001, 27.5004, 95.0300)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462FC #9AFC62
analogous
#7762FC #C462FC #FC62E7
triadic
#C462FC #FCC462 #62FCC4
tetradic
#C462FC #FC7762 #9AFC62 #62E7FC
square
#C462FC #FC7762 #9AFC62 #62E7FC
split-complementary
#C462FC #E7FC62 #62FC77
monochromatic
#9004DF #AD26FB #C462FC #DB9EFD #F1DAFE

Accessibility & contrast

On white

3.23
#C462FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C462FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462FC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462FC#FFFFFF#000000##000000
##C462FC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#BD80A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c462fc;
/* rgb */ color: rgb(196, 98, 252);
/* oklch */ color: oklch(67.8% 0.228 311.1);
Tailwind
colors: {
  custom: {
    50: '#da94fe',
    500: '#c462fc',
    950: '#000000',
  },
}
SCSS
$custom: #c462fc;
$custom-light: #da94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c462fc",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 278.182,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67774,
    "c": 0.2282,
    "h": 311.1
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#C462FC
secondary
#D7F4C6
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C462FC

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

Preview Lab → · Contrast checker → · Palette generator →

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