#C251D9#C251D9

#C251D9 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.217 H 320.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C251D9
RGBrgb(194, 81, 217)
HSLhsl(290, 64%, 58%)
HSVhsv(290, 63%, 85%)
CMYKcmyk(10.6%, 62.7%, 0%, 14.9%)
CIE-LABlab(54.41, 63.91, -49.52)
CIE-LCHlch(54.41, 80.85, 322.23°)
OKLaboklab(63.45% 0.1676 -0.1381)
OKLCHoklch(63.45% 0.217 320.5)
XYZxyz(37.7135, 22.3658, 67.9627)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251D9 #68D951
analogous
#7E51D9 #C251D9 #D951AC
triadic
#C251D9 #D9C251 #51D9C2
tetradic
#C251D9 #D97E51 #68D951 #51ACD9
square
#C251D9 #D97E51 #68D951 #51ACD9
split-complementary
#C251D9 #ACD951 #51D97E
monochromatic
#7D1F90 #A92AC2 #C251D9 #D483E4 #E5B5EF

Accessibility & contrast

On white

3.84
#C251D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C251D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251D9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251D9#FFFFFF#000000##000000
##C251D91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADD
Deuteranopia (green-blind)
#5E86D6
Tritanopia (blue-blind)
#C3678E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c251d9;
/* rgb */ color: rgb(194, 81, 217);
/* oklch */ color: oklch(63.4% 0.217 320.5);
Tailwind
colors: {
  custom: {
    50: '#d889e5',
    500: '#c251d9',
    950: '#000000',
  },
}
SCSS
$custom: #c251d9;
$custom-light: #d889e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c251d9",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 289.853,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63447,
    "c": 0.21717,
    "h": 320.5
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#C251D9
secondary
#B1DEA8
accent
#E7415D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251D9

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

Preview Lab → · Contrast checker → · Palette generator →

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