#C251D6#C251D6

#C251D6 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.214 H 321.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C251D6
RGBrgb(194, 81, 214)
HSLhsl(291, 62%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.3%, 62.1%, 0%, 16.1%)
CIE-LABlab(54.25, 63.35, -48.08)
CIE-LCHlch(54.25, 79.53, 322.81°)
OKLaboklab(63.28% 0.1675 -0.1339)
OKLCHoklch(63.28% 0.214 321.4)
XYZxyz(37.3268, 22.2111, 65.9263)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251D6 #65D651
analogous
#7F51D6 #C251D6 #D651A8
triadic
#C251D6 #D6C251 #51D6C2
tetradic
#C251D6 #D67F51 #65D651 #51A8D6
square
#C251D6 #D67F51 #65D651 #51A8D6
split-complementary
#C251D6 #A8D651 #51D67F
monochromatic
#7C218C #A72DBD #C251D6 #D383E2 #E5B4ED

Accessibility & contrast

On white

3.86
#C251D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C251D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251D6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251D6#FFFFFF#000000##000000
##C251D61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADA
Deuteranopia (green-blind)
#5F86D3
Tritanopia (blue-blind)
#C4668C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c251d6;
/* rgb */ color: rgb(194, 81, 214);
/* oklch */ color: oklch(63.3% 0.214 321.4);
Tailwind
colors: {
  custom: {
    50: '#d889e3',
    500: '#c251d6',
    950: '#000000',
  },
}
SCSS
$custom: #c251d6;
$custom-light: #d889e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c251d6",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 290.977,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.21448,
    "h": 321.4
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#C251D6
secondary
#AFDCA7
accent
#E5435B
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C251D6

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

Preview Lab → · Contrast checker → · Palette generator →

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