#C151D2#C151D2

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

Color values

HEX#C151D2
RGBrgb(193, 81, 210)
HSLhsl(292, 59%, 57%)
HSVhsv(292, 61%, 82%)
CMYKcmyk(8.1%, 61.4%, 0%, 17.6%)
CIE-LABlab(53.90, 62.37, -46.37)
CIE-LCHlch(53.90, 77.72, 323.37°)
OKLaboklab(62.92% 0.1663 -0.129)
OKLCHoklch(62.92% 0.21 322.2)
XYZxyz(36.5664, 21.8773, 63.2569)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D2 #62D251
analogous
#8151D2 #C151D2 #D251A3
triadic
#C151D2 #D2C151 #51D2C1
tetradic
#C151D2 #D28151 #62D251 #51A3D2
square
#C151D2 #D28151 #62D251 #51A3D2
split-complementary
#C151D2 #A3D251 #51D281
monochromatic
#792386 #A52FB7 #C151D2 #D282DF #E4B2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151D2#FFFFFF#000000##000000
##C151D21.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)
#3579D6
Deuteranopia (green-blind)
#6185CF
Tritanopia (blue-blind)
#C3658A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c151d2;
/* rgb */ color: rgb(193, 81, 210);
/* oklch */ color: oklch(62.9% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#d789e0',
    500: '#c151d2',
    950: '#000000',
  },
}
SCSS
$custom: #c151d2;
$custom-light: #d789e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d2",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 292.093,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62923,
    "c": 0.21043,
    "h": 322.2
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#C151D2
secondary
#ACDAA5
accent
#E2465A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C151D2

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

Preview Lab → · Contrast checker → · Palette generator →

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