#C251DF#C251DF

#C251DF is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.223 H 318.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C251DF
RGBrgb(194, 81, 223)
HSLhsl(288, 69%, 60%)
HSVhsv(288, 64%, 87%)
CMYKcmyk(13%, 63.7%, 0%, 12.5%)
CIE-LABlab(54.74, 65.04, -52.39)
CIE-LCHlch(54.74, 83.52, 321.15°)
OKLaboklab(63.79% 0.1676 -0.1465)
OKLCHoklch(63.79% 0.223 318.8)
XYZxyz(38.5081, 22.6836, 72.1477)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251DF #6EDF51
analogous
#7B51DF #C251DF #DF51B5
triadic
#C251DF #DFC251 #51DFC2
tetradic
#C251DF #DF7B51 #6EDF51 #51B5DF
square
#C251DF #DF7B51 #6EDF51 #51B5DF
split-complementary
#C251DF #B5DF51 #51DF7B
monochromatic
#801C99 #AB26CD #C251DF #D485E9 #E6B8F2

Accessibility & contrast

On white

3.79
#C251DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C251DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251DF#FFFFFF#000000##000000
##C251DF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#C26A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251df;
/* rgb */ color: rgb(194, 81, 223);
/* oklch */ color: oklch(63.8% 0.223 318.8);
Tailwind
colors: {
  custom: {
    50: '#d889e9',
    500: '#c251df',
    950: '#000000',
  },
}
SCSS
$custom: #c251df;
$custom-light: #d889e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c251df",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 287.746,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63794,
    "c": 0.2226,
    "h": 318.8
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#C251DF
secondary
#B6E1AA
accent
#EC3C60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251DF

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

Preview Lab → · Contrast checker → · Palette generator →

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