#C251E1#C251E1

#C251E1 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.224 H 318.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C251E1
RGBrgb(194, 81, 225)
HSLhsl(287, 71%, 60%)
HSVhsv(287, 64%, 88%)
CMYKcmyk(13.8%, 64%, 0%, 11.8%)
CIE-LABlab(54.86, 65.42, -53.34)
CIE-LCHlch(54.86, 84.41, 320.81°)
OKLaboklab(63.91% 0.1676 -0.1493)
OKLCHoklch(63.91% 0.224 318.3)
XYZxyz(38.7793, 22.7921, 73.5762)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251E1 #70E151
analogous
#7A51E1 #C251E1 #E151B8
triadic
#C251E1 #E1C251 #51E1C2
tetradic
#C251E1 #E17A51 #70E151 #51B8E1
square
#C251E1 #E17A51 #70E151 #51B8E1
split-complementary
#C251E1 #B8E151 #51E17A
monochromatic
#811B9D #AC24D1 #C251E1 #D485EA #E7B9F3

Accessibility & contrast

On white

3.78
#C251E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C251E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251E1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251E1#FFFFFF#000000##000000
##C251E11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207CE5
Deuteranopia (green-blind)
#5887DD
Tritanopia (blue-blind)
#C26A92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251e1;
/* rgb */ color: rgb(194, 81, 225);
/* oklch */ color: oklch(63.9% 0.224 318.3);
Tailwind
colors: {
  custom: {
    50: '#d889eb',
    500: '#c251e1',
    950: '#000000',
  },
}
SCSS
$custom: #c251e1;
$custom-light: #d889eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c251e1",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 287.083,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.22442,
    "h": 318.3
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#C251E1
secondary
#B7E3AB
accent
#ED3A61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251E1

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

Preview Lab → · Contrast checker → · Palette generator →

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