#C251CC#C251CC

#C251CC is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.7% C 0.206 H 324.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C251CC
RGBrgb(194, 81, 204)
HSLhsl(295, 55%, 56%)
HSVhsv(295, 60%, 80%)
CMYKcmyk(4.9%, 60.3%, 0%, 20%)
CIE-LABlab(53.72, 61.52, -43.21)
CIE-LCHlch(53.72, 75.18, 324.92°)
OKLaboklab(62.72% 0.1671 -0.1198)
OKLCHoklch(62.72% 0.206 324.4)
XYZxyz(36.0887, 21.7159, 59.4057)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251CC #5BCC51
analogous
#8451CC #C251CC #CC5198
triadic
#C251CC #CCC251 #51CCC2
tetradic
#C251CC #CC8451 #5BCC51 #5198CC
square
#C251CC #CC8451 #5BCC51 #5198CC
split-complementary
#C251CC #98CC51 #51CC84
monochromatic
#77257E #A333AD #C251CC #D380DA #E3B0E8

Accessibility & contrast

On white

3.93
#C251CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C251CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251CC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251CC#FFFFFF#000000##000000
##C251CC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#C66287
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c251cc;
/* rgb */ color: rgb(194, 81, 204);
/* oklch */ color: oklch(62.7% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#d789dc',
    500: '#c251cc',
    950: '#000000',
  },
}
SCSS
$custom: #c251cc;
$custom-light: #d789dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c251cc",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 295.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62725,
    "c": 0.20561,
    "h": 324.4
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#C251CC
secondary
#A7D6A3
accent
#DE4A56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C251CC

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

Preview Lab → · Contrast checker → · Palette generator →

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