#C251E9#C251E9

#C251E9 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.232 H 316.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C251E9
RGBrgb(194, 81, 233)
HSLhsl(285, 78%, 62%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.7%, 65.2%, 0%, 8.6%)
CIE-LABlab(55.32, 66.97, -57.10)
CIE-LCHlch(55.32, 88.01, 319.55°)
OKLaboklab(64.39% 0.1674 -0.1603)
OKLCHoklch(64.39% 0.232 316.2)
XYZxyz(39.8963, 23.2389, 79.4590)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251E9 #78E951
analogous
#7651E9 #C251E9 #E951C4
triadic
#C251E9 #E9C251 #51E9C2
tetradic
#C251E9 #E97651 #78E951 #51C4E9
square
#C251E9 #E97651 #78E951 #51C4E9
split-complementary
#C251E9 #C4E951 #51E976
monochromatic
#8416AA #AE1CE0 #C251E9 #D587F0 #E8BEF7

Accessibility & contrast

On white

3.72
#C251E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C251E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251E9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251E9#FFFFFF#000000##000000
##C251E91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#5188E5
Tritanopia (blue-blind)
#C06E96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c251e9;
/* rgb */ color: rgb(194, 81, 233);
/* oklch */ color: oklch(64.4% 0.232 316.2);
Tailwind
colors: {
  custom: {
    50: '#d889f1',
    500: '#c251e9',
    950: '#000000',
  },
}
SCSS
$custom: #c251e9;
$custom-light: #d889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c251e9",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 284.605,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.23174,
    "h": 316.2
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#C251E9
secondary
#BDE7AF
accent
#DA0C41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C251E9

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

Preview Lab → · Contrast checker → · Palette generator →

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