#C251DE#C251DE

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

Color values

HEX#C251DE
RGBrgb(194, 81, 222)
HSLhsl(288, 68%, 59%)
HSVhsv(288, 64%, 87%)
CMYKcmyk(12.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(54.69, 64.85, -51.91)
CIE-LCHlch(54.69, 83.07, 321.32°)
OKLaboklab(63.74% 0.1676 -0.1451)
OKLCHoklch(63.74% 0.222 319.1)
XYZxyz(38.3737, 22.6298, 71.4398)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251DE #6DDE51
analogous
#7C51DE #C251DE #DE51B4
triadic
#C251DE #DEC251 #51DEC2
tetradic
#C251DE #DE7C51 #6DDE51 #51B4DE
square
#C251DE #DE7C51 #6DDE51 #51B4DE
split-complementary
#C251DE #B4DE51 #51DE7C
monochromatic
#7F1D98 #AB27CB #C251DE #D484E8 #E6B8F2

Accessibility & contrast

On white

3.80
#C251DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C251DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251DE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251DE#FFFFFF#000000##000000
##C251DE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE2
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#C26991
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c251de;
/* rgb */ color: rgb(194, 81, 222);
/* oklch */ color: oklch(63.7% 0.222 319.1);
Tailwind
colors: {
  custom: {
    50: '#d889e9',
    500: '#c251de',
    950: '#000000',
  },
}
SCSS
$custom: #c251de;
$custom-light: #d889e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c251de",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 288.085,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.22169,
    "h": 319.1
  },
  "luminance": 0.22628
}

Semantic roles & 50–950 ramp

primary
#C251DE
secondary
#B5E1AA
accent
#EB3D5F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C251DE

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

Preview Lab → · Contrast checker → · Palette generator →

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