#C251D7#C251D7

#C251D7 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.215 H 321.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C251D7
RGBrgb(194, 81, 215)
HSLhsl(291, 63%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.8%, 62.3%, 0%, 15.7%)
CIE-LABlab(54.30, 63.54, -48.56)
CIE-LCHlch(54.30, 79.97, 322.61°)
OKLaboklab(63.33% 0.1675 -0.1353)
OKLCHoklch(63.33% 0.215 321.1)
XYZxyz(37.4549, 22.2623, 66.6010)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251D7 #66D751
analogous
#7F51D7 #C251D7 #D751A9
triadic
#C251D7 #D7C251 #51D7C2
tetradic
#C251D7 #D77F51 #66D751 #51A9D7
square
#C251D7 #D77F51 #66D751 #51A9D7
split-complementary
#C251D7 #A9D751 #51D77F
monochromatic
#7C208D #A82CBF #C251D7 #D383E2 #E5B5EE

Accessibility & contrast

On white

3.85
#C251D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C251D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251D7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251D7#FFFFFF#000000##000000
##C251D71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#5F86D4
Tritanopia (blue-blind)
#C4678D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c251d7;
/* rgb */ color: rgb(194, 81, 215);
/* oklch */ color: oklch(63.3% 0.215 321.1);
Tailwind
colors: {
  custom: {
    50: '#d889e4',
    500: '#c251d7',
    950: '#000000',
  },
}
SCSS
$custom: #c251d7;
$custom-light: #d889e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c251d7",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 290.597,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63333,
    "c": 0.21538,
    "h": 321.1
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#C251D7
secondary
#B0DDA7
accent
#E6425C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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