#C151DF#C151DF

#C151DF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.222 H 318.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C151DF
RGBrgb(193, 81, 223)
HSLhsl(287, 69%, 60%)
HSVhsv(287, 64%, 87%)
CMYKcmyk(13.5%, 63.7%, 0%, 12.5%)
CIE-LABlab(54.61, 64.81, -52.61)
CIE-LCHlch(54.61, 83.48, 320.93°)
OKLaboklab(63.67% 0.1664 -0.1472)
OKLCHoklch(63.67% 0.222 318.5)
XYZxyz(38.2522, 22.5517, 72.1357)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151DF #6FDF51
analogous
#7A51DF #C151DF #DF51B6
triadic
#C151DF #DFC151 #51DFC1
tetradic
#C151DF #DF7A51 #6FDF51 #51B6DF
square
#C151DF #DF7A51 #6FDF51 #51B6DF
split-complementary
#C151DF #B6DF51 #51DF7A
monochromatic
#7F1C99 #AA26CD #C151DF #D385E9 #E6B8F2

Accessibility & contrast

On white

3.81
#C151DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C151DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151DF#FFFFFF#000000##000000
##C151DF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#237BE3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#C16A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c151df;
/* rgb */ color: rgb(193, 81, 223);
/* oklch */ color: oklch(63.7% 0.222 318.5);
Tailwind
colors: {
  custom: {
    50: '#d789ea',
    500: '#c151df',
    950: '#000000',
  },
}
SCSS
$custom: #c151df;
$custom-light: #d789ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c151df",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 287.324,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63667,
    "c": 0.22217,
    "h": 318.5
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#C151DF
secondary
#B6E1AA
accent
#EC3C61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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