#C251DC#C251DC

#C251DC is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.220 H 319.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C251DC
RGBrgb(194, 81, 220)
HSLhsl(289, 67%, 59%)
HSVhsv(289, 63%, 86%)
CMYKcmyk(11.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(54.58, 64.47, -50.96)
CIE-LCHlch(54.58, 82.18, 321.68°)
OKLaboklab(63.62% 0.1676 -0.1423)
OKLCHoklch(63.62% 0.22 319.7)
XYZxyz(38.1072, 22.5233, 70.0364)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251DC #6BDC51
analogous
#7D51DC #C251DC #DC51B1
triadic
#C251DC #DCC251 #51DCC2
tetradic
#C251DC #DC7D51 #6BDC51 #51B1DC
square
#C251DC #DC7D51 #6BDC51 #51B1DC
split-complementary
#C251DC #B1DC51 #51DC7D
monochromatic
#7E1E95 #AA28C8 #C251DC #D484E6 #E6B7F0

Accessibility & contrast

On white

3.82
#C251DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#C251DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251DC#FFFFFF#000000##000000
##C251DC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE0
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#C36990
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251dc;
/* rgb */ color: rgb(194, 81, 220);
/* oklch */ color: oklch(63.6% 0.220 319.7);
Tailwind
colors: {
  custom: {
    50: '#d889e7',
    500: '#c251dc',
    950: '#000000',
  },
}
SCSS
$custom: #c251dc;
$custom-light: #d889e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c251dc",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 288.777,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6362,
    "c": 0.21988,
    "h": 319.7
  },
  "luminance": 0.22522
}

Semantic roles & 50–950 ramp

primary
#C251DC
secondary
#B3E0A9
accent
#E93E5E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251DC

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

Preview Lab → · Contrast checker → · Palette generator →

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