#C251D5#C251D5

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

Color values

HEX#C251D5
RGBrgb(194, 81, 213)
HSLhsl(291, 61%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(8.9%, 62%, 0%, 16.5%)
CIE-LABlab(54.20, 63.17, -47.59)
CIE-LCHlch(54.20, 79.09, 323.00°)
OKLaboklab(63.22% 0.1675 -0.1325)
OKLCHoklch(63.22% 0.214 321.6)
XYZxyz(37.1995, 22.1602, 65.2558)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251D5 #64D551
analogous
#8051D5 #C251D5 #D551A6
triadic
#C251D5 #D5C251 #51D5C2
tetradic
#C251D5 #D58051 #64D551 #51A6D5
square
#C251D5 #D58051 #64D551 #51A6D5
split-complementary
#C251D5 #A6D551 #51D580
monochromatic
#7B218A #A72DBC #C251D5 #D382E1 #E5B4ED

Accessibility & contrast

On white

3.87
#C251D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C251D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251D5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251D5#FFFFFF#000000##000000
##C251D51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3279D9
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#C4668C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c251d5;
/* rgb */ color: rgb(194, 81, 213);
/* oklch */ color: oklch(63.2% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#d889e2',
    500: '#c251d5',
    950: '#000000',
  },
}
SCSS
$custom: #c251d5;
$custom-light: #d889e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c251d5",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 291.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.21358,
    "h": 321.6
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#C251D5
secondary
#AEDBA6
accent
#E4445B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C251D5

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

Preview Lab → · Contrast checker → · Palette generator →

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