#C151D5#C151D5

#C151D5 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.213 H 321.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C151D5
RGBrgb(193, 81, 213)
HSLhsl(291, 61%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.4%, 62%, 0%, 16.5%)
CIE-LABlab(54.06, 62.93, -47.82)
CIE-LCHlch(54.06, 79.04, 322.77°)
OKLaboklab(63.09% 0.1663 -0.1332)
OKLCHoklch(63.09% 0.213 321.3)
XYZxyz(36.9436, 22.0282, 65.2438)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D5 #65D551
analogous
#7F51D5 #C151D5 #D551A7
triadic
#C151D5 #D5C151 #51D5C1
tetradic
#C151D5 #D57F51 #65D551 #51A7D5
square
#C151D5 #D57F51 #65D551 #51A7D5
split-complementary
#C151D5 #A7D551 #51D57F
monochromatic
#7A218A #A62DBC #C151D5 #D382E1 #E4B4ED

Accessibility & contrast

On white

3.89
#C151D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C151D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151D5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151D5#FFFFFF#000000##000000
##C151D51.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3279D9
Deuteranopia (green-blind)
#5F85D2
Tritanopia (blue-blind)
#C3668C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c151d5;
/* rgb */ color: rgb(193, 81, 213);
/* oklch */ color: oklch(63.1% 0.213 321.3);
Tailwind
colors: {
  custom: {
    50: '#d789e2',
    500: '#c151d5',
    950: '#000000',
  },
}
SCSS
$custom: #c151d5;
$custom-light: #d789e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d5",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 290.909,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63091,
    "c": 0.21311,
    "h": 321.3
  },
  "luminance": 0.22026
}

Semantic roles & 50–950 ramp

primary
#C151D5
secondary
#AEDBA6
accent
#E4445C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C151D5

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

Preview Lab → · Contrast checker → · Palette generator →

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