#C151DD#C151DD

#C151DD is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.220 H 319.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C151DD
RGBrgb(193, 81, 221)
HSLhsl(288, 67%, 59%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(12.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(54.50, 64.43, -51.66)
CIE-LCHlch(54.50, 82.59, 321.28°)
OKLaboklab(63.55% 0.1664 -0.1444)
OKLCHoklch(63.55% 0.22 319.1)
XYZxyz(37.9842, 22.4445, 70.7240)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151DD #6DDD51
analogous
#7B51DD #C151DD #DD51B3
triadic
#C151DD #DDC151 #51DDC1
tetradic
#C151DD #DD7B51 #6DDD51 #51B3DD
square
#C151DD #DD7B51 #6DDD51 #51B3DD
split-complementary
#C151DD #B3DD51 #51DD7B
monochromatic
#7E1D96 #A927C9 #C151DD #D384E7 #E5B7F1

Accessibility & contrast

On white

3.83
#C151DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C151DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151DD#FFFFFF#000000##000000
##C151DD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE1
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#C16990
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c151dd;
/* rgb */ color: rgb(193, 81, 221);
/* oklch */ color: oklch(63.5% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#d789e8',
    500: '#c151dd',
    950: '#000000',
  },
}
SCSS
$custom: #c151dd;
$custom-light: #d789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c151dd",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 288,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.22035,
    "h": 319.1
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#C151DD
secondary
#B4E0AA
accent
#EA3E60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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