#C512FF#C512FF

#C512FF is a light, highly saturated purple. Relative luminance 0.195; OKLCH L 62.1% C 0.301 H 314.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C512FF
RGBrgb(197, 18, 255)
HSLhsl(285, 100%, 54%)
HSVhsv(285, 93%, 100%)
CMYKcmyk(22.7%, 92.9%, 0%, 0%)
CIE-LABlab(51.30, 88.61, -75.87)
CIE-LCHlch(51.30, 116.66, 319.43°)
OKLaboklab(62.1% 0.2103 -0.2149)
OKLCHoklch(62.1% 0.301 314.4)
XYZxyz(41.2891, 19.5245, 96.1820)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C512FF #4CFF12
analogous
#4E12FF #C512FF #FF12C3
triadic
#C512FF #FFC512 #12FFC5
tetradic
#C512FF #FF4E12 #4CFF12 #12C3FF
square
#C512FF #FF4E12 #4CFF12 #12C3FF
split-complementary
#C512FF #C3FF12 #12FF4E
monochromatic
#720097 #A000D4 #C512FF #D44FFF #E38CFF

Accessibility & contrast

On white

4.28
#C512FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C512FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C512FF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C512FF#FFFFFF#000000##000000
##C512FF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c512ff;
/* rgb */ color: rgb(197, 18, 255);
/* oklch */ color: oklch(62.1% 0.301 314.4);
Tailwind
colors: {
  custom: {
    50: '#dd74ff',
    500: '#c512ff',
    950: '#000000',
  },
}
SCSS
$custom: #c512ff;
$custom-light: #dd74ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c512ff",
  "rgb": {
    "r": 197,
    "g": 18,
    "b": 255
  },
  "hsl": {
    "h": 285.316,
    "s": 100,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.30069,
    "h": 314.4
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#C512FF
secondary
#9CE984
accent
#FF295D
background
#FEF7FF
surface
#FDEEFF
border
#D5C9D7
text
#160A18
muted
#847C86

Preview Lab

Preview with #C512FF

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

Preview Lab → · Contrast checker → · Palette generator →

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