#C151D1#C151D1

#C151D1 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.9% C 0.210 H 322.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C151D1
RGBrgb(193, 81, 209)
HSLhsl(293, 58%, 57%)
HSVhsv(293, 61%, 82%)
CMYKcmyk(7.7%, 61.2%, 0%, 18%)
CIE-LABlab(53.84, 62.19, -45.89)
CIE-LCHlch(53.84, 77.28, 323.58°)
OKLaboklab(62.87% 0.1662 -0.1276)
OKLCHoklch(62.87% 0.21 322.5)
XYZxyz(36.4422, 21.8277, 62.6029)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D1 #61D151
analogous
#8151D1 #C151D1 #D151A1
triadic
#C151D1 #D1C151 #51D1C1
tetradic
#C151D1 #D18151 #61D151 #51A1D1
square
#C151D1 #D18151 #61D151 #51A1D1
split-complementary
#C151D1 #A1D151 #51D181
monochromatic
#782385 #A430B5 #C151D1 #D281DE #E3B2EB

Accessibility & contrast

On white

3.91
#C151D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C151D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151D1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151D1#FFFFFF#000000##000000
##C151D11.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#C4658A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c151d1;
/* rgb */ color: rgb(193, 81, 209);
/* oklch */ color: oklch(62.9% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#d789df',
    500: '#c151d1',
    950: '#000000',
  },
}
SCSS
$custom: #c151d1;
$custom-light: #d789df;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d1",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 292.5,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.20953,
    "h": 322.5
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#C151D1
secondary
#ABD9A5
accent
#E1465A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C151D1

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

Preview Lab → · Contrast checker → · Palette generator →

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