#C251DD#C251DD

#C251DD is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.221 H 319.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C251DD
RGBrgb(194, 81, 221)
HSLhsl(288, 67%, 59%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(12.2%, 63.3%, 0%, 13.3%)
CIE-LABlab(54.63, 64.66, -51.44)
CIE-LCHlch(54.63, 82.62, 321.50°)
OKLaboklab(63.68% 0.1676 -0.1437)
OKLCHoklch(63.68% 0.221 319.4)
XYZxyz(38.2400, 22.5764, 70.7360)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251DD #6CDD51
analogous
#7C51DD #C251DD #DD51B2
triadic
#C251DD #DDC251 #51DDC2
tetradic
#C251DD #DD7C51 #6CDD51 #51B2DD
square
#C251DD #DD7C51 #6CDD51 #51B2DD
split-complementary
#C251DD #B2DD51 #51DD7C
monochromatic
#7F1D96 #AA27C9 #C251DD #D484E7 #E6B7F1

Accessibility & contrast

On white

3.81
#C251DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C251DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251DD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251DD#FFFFFF#000000##000000
##C251DD1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#C26990
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251dd;
/* rgb */ color: rgb(194, 81, 221);
/* oklch */ color: oklch(63.7% 0.221 319.4);
Tailwind
colors: {
  custom: {
    50: '#d889e8',
    500: '#c251dd',
    950: '#000000',
  },
}
SCSS
$custom: #c251dd;
$custom-light: #d889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c251dd",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 288.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63677,
    "c": 0.22078,
    "h": 319.4
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#C251DD
secondary
#B4E0AA
accent
#EA3E5F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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