#C151D9#C151D9

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

Color values

HEX#C151D9
RGBrgb(193, 81, 217)
HSLhsl(289, 64%, 58%)
HSVhsv(289, 63%, 85%)
CMYKcmyk(11.1%, 62.7%, 0%, 14.9%)
CIE-LABlab(54.27, 63.68, -49.75)
CIE-LCHlch(54.27, 80.81, 322.00°)
OKLaboklab(63.32% 0.1664 -0.1388)
OKLCHoklch(63.32% 0.217 320.2)
XYZxyz(37.4576, 22.2338, 67.9507)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D9 #69D951
analogous
#7D51D9 #C151D9 #D951AD
triadic
#C151D9 #D9C151 #51D9C1
tetradic
#C151D9 #D97D51 #69D951 #51ADD9
square
#C151D9 #D97D51 #69D951 #51ADD9
split-complementary
#C151D9 #ADD951 #51D97D
monochromatic
#7C1F90 #A82AC2 #C151D9 #D383E4 #E5B5EF

Accessibility & contrast

On white

3.86
#C151D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151D9#FFFFFF#000000##000000
##C151D91.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#5D86D6
Tritanopia (blue-blind)
#C2688E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c151d9;
/* rgb */ color: rgb(193, 81, 217);
/* oklch */ color: oklch(63.3% 0.217 320.2);
Tailwind
colors: {
  custom: {
    50: '#d789e5',
    500: '#c151d9',
    950: '#000000',
  },
}
SCSS
$custom: #c151d9;
$custom-light: #d789e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d9",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 289.412,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.21672,
    "h": 320.2
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#C151D9
secondary
#B1DEA8
accent
#E7415E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151D9

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

Preview Lab → · Contrast checker → · Palette generator →

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