#C251DB#C251DB

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

Color values

HEX#C251DB
RGBrgb(194, 81, 219)
HSLhsl(289, 66%, 59%)
HSVhsv(289, 63%, 86%)
CMYKcmyk(11.4%, 63%, 0%, 14.1%)
CIE-LABlab(54.52, 64.29, -50.48)
CIE-LCHlch(54.52, 81.74, 321.86°)
OKLaboklab(63.56% 0.1676 -0.1409)
OKLCHoklch(63.56% 0.219 319.9)
XYZxyz(37.9752, 22.4704, 69.3410)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251DB #6ADB51
analogous
#7D51DB #C251DB #DB51AF
triadic
#C251DB #DBC251 #51DBC2
tetradic
#C251DB #DB7D51 #6ADB51 #51AFDB
square
#C251DB #DB7D51 #6ADB51 #51AFDB
split-complementary
#C251DB #AFDB51 #51DB7D
monochromatic
#7E1E93 #A929C6 #C251DB #D484E5 #E6B6F0

Accessibility & contrast

On white

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

On black

5.49
#C251DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251DB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251DB#FFFFFF#000000##000000
##C251DB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BDF
Deuteranopia (green-blind)
#5C86D8
Tritanopia (blue-blind)
#C3688F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c251db;
/* rgb */ color: rgb(194, 81, 219);
/* oklch */ color: oklch(63.6% 0.219 319.9);
Tailwind
colors: {
  custom: {
    50: '#d889e7',
    500: '#c251db',
    950: '#000000',
  },
}
SCSS
$custom: #c251db;
$custom-light: #d889e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c251db",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 289.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.21898,
    "h": 319.9
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

primary
#C251DB
secondary
#B3DFA9
accent
#E93F5E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251DB

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

Preview Lab → · Contrast checker → · Palette generator →

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