#C251EE#C251EE

#C251EE is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.236 H 315.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C251EE
RGBrgb(194, 81, 238)
HSLhsl(283, 82%, 63%)
HSVhsv(283, 66%, 93%)
CMYKcmyk(18.5%, 66%, 0%, 6.7%)
CIE-LABlab(55.61, 67.95, -59.43)
CIE-LCHlch(55.61, 90.27, 318.83°)
OKLaboklab(64.7% 0.1671 -0.1671)
OKLCHoklch(64.7% 0.236 315)
XYZxyz(40.6207, 23.5286, 83.2741)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251EE #7DEE51
analogous
#7451EE #C251EE #EE51CB
triadic
#C251EE #EEC251 #51EEC2
tetradic
#C251EE #EE7451 #7DEE51 #51CBEE
square
#C251EE #EE7451 #7DEE51 #51CBEE
split-complementary
#C251EE #CBEE51 #51EE74
monochromatic
#8611B3 #AE19E9 #C251EE #D689F3 #E9C1F9

Accessibility & contrast

On white

3.68
#C251EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C251EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251EE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251EE#FFFFFF#000000##000000
##C251EE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#BF6F99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c251ee;
/* rgb */ color: rgb(194, 81, 238);
/* oklch */ color: oklch(64.7% 0.236 315.0);
Tailwind
colors: {
  custom: {
    50: '#d88af4',
    500: '#c251ee',
    950: '#000000',
  },
}
SCSS
$custom: #c251ee;
$custom-light: #d88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#c251ee",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 283.185,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.23634,
    "h": 315
  },
  "luminance": 0.23527
}

Semantic roles & 50–950 ramp

primary
#C251EE
secondary
#C1EAB1
accent
#DF0743
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251EE

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

Preview Lab → · Contrast checker → · Palette generator →

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