#C251E2#C251E2

#C251E2 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.225 H 318.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C251E2
RGBrgb(194, 81, 226)
HSLhsl(287, 71%, 60%)
HSVhsv(287, 64%, 89%)
CMYKcmyk(14.2%, 64.2%, 0%, 11.4%)
CIE-LABlab(54.91, 65.61, -53.81)
CIE-LCHlch(54.91, 84.86, 320.64°)
OKLaboklab(63.97% 0.1676 -0.1507)
OKLCHoklch(63.97% 0.225 318)
XYZxyz(38.9161, 22.8468, 74.2967)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251E2 #71E251
analogous
#7A51E2 #C251E2 #E251B9
triadic
#C251E2 #E2C251 #51E2C2
tetradic
#C251E2 #E27A51 #71E251 #51B9E2
square
#C251E2 #E27A51 #71E251 #51B9E2
split-complementary
#C251E2 #B9E251 #51E27A
monochromatic
#811A9E #AC23D3 #C251E2 #D485EB #E7BAF3

Accessibility & contrast

On white

3.77
#C251E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C251E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251E2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251E2#FFFFFF#000000##000000
##C251E21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE6
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#C16B93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251e2;
/* rgb */ color: rgb(194, 81, 226);
/* oklch */ color: oklch(64.0% 0.225 318.0);
Tailwind
colors: {
  custom: {
    50: '#d889ec',
    500: '#c251e2',
    950: '#000000',
  },
}
SCSS
$custom: #c251e2;
$custom-light: #d889ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c251e2",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 286.759,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63971,
    "c": 0.22533,
    "h": 318
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#C251E2
secondary
#B8E3AC
accent
#D3123D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251E2

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

Preview Lab → · Contrast checker → · Palette generator →

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