#C251EA#C251EA

#C251EA is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.233 H 316.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C251EA
RGBrgb(194, 81, 234)
HSLhsl(284, 78%, 62%)
HSVhsv(284, 65%, 92%)
CMYKcmyk(17.1%, 65.4%, 0%, 8.2%)
CIE-LABlab(55.38, 67.16, -57.57)
CIE-LCHlch(55.38, 88.46, 319.40°)
OKLaboklab(64.45% 0.1673 -0.1616)
OKLCHoklch(64.45% 0.233 316)
XYZxyz(40.0396, 23.2962, 80.2134)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251EA #79EA51
analogous
#7651EA #C251EA #EA51C5
triadic
#C251EA #EAC251 #51EAC2
tetradic
#C251EA #EA7651 #79EA51 #51C5EA
square
#C251EA #EA7651 #79EA51 #51C5EA
split-complementary
#C251EA #C5EA51 #51EA76
monochromatic
#8415AC #AE1BE2 #C251EA #D588F1 #E8BEF7

Accessibility & contrast

On white

3.71
#C251EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C251EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251EA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251EA#FFFFFF#000000##000000
##C251EA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEF
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#BF6E97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c251ea;
/* rgb */ color: rgb(194, 81, 234);
/* oklch */ color: oklch(64.5% 0.233 316.0);
Tailwind
colors: {
  custom: {
    50: '#d889f1',
    500: '#c251ea',
    950: '#000000',
  },
}
SCSS
$custom: #c251ea;
$custom-light: #d889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c251ea",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 284.314,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.23265,
    "h": 316
  },
  "luminance": 0.23295
}

Semantic roles & 50–950 ramp

primary
#C251EA
secondary
#BEE8AF
accent
#DB0B41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251EA

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

Preview Lab → · Contrast checker → · Palette generator →

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