#C412FF#C412FF

#C412FF is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 62.0% C 0.300 H 314.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C412FF
RGBrgb(196, 18, 255)
HSLhsl(285, 100%, 54%)
HSVhsv(285, 93%, 100%)
CMYKcmyk(23.1%, 92.9%, 0%, 0%)
CIE-LABlab(51.14, 88.48, -76.13)
CIE-LCHlch(51.14, 116.73, 319.29°)
OKLaboklab(61.96% 0.2091 -0.2157)
OKLCHoklch(61.96% 0.3 314.1)
XYZxyz(41.0281, 19.3899, 96.1698)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C412FF #4DFF12
analogous
#4D12FF #C412FF #FF12C4
triadic
#C412FF #FFC412 #12FFC4
tetradic
#C412FF #FF4D12 #4DFF12 #12C4FF
square
#C412FF #FF4D12 #4DFF12 #12C4FF
split-complementary
#C412FF #C4FF12 #12FF4D
monochromatic
#710097 #9F00D4 #C412FF #D34FFF #E28CFF

Accessibility & contrast

On white

4.31
#C412FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C412FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C412FF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C412FF#FFFFFF#000000##000000
##C412FF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#BE5D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c412ff;
/* rgb */ color: rgb(196, 18, 255);
/* oklch */ color: oklch(62.0% 0.300 314.1);
Tailwind
colors: {
  custom: {
    50: '#dc74ff',
    500: '#c412ff',
    950: '#000000',
  },
}
SCSS
$custom: #c412ff;
$custom-light: #dc74ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c412ff",
  "rgb": {
    "r": 196,
    "g": 18,
    "b": 255
  },
  "hsl": {
    "h": 285.063,
    "s": 100,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.30042,
    "h": 314.1
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#C412FF
secondary
#9DE984
accent
#FF295E
background
#FEF7FF
surface
#FCEEFF
border
#D5C9D7
text
#160A18
muted
#847C86

Preview Lab

Preview with #C412FF

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

Preview Lab → · Contrast checker → · Palette generator →

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