#C151D6#C151D6

#C151D6 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.214 H 321.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C151D6
RGBrgb(193, 81, 214)
HSLhsl(291, 62%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.8%, 62.1%, 0%, 16.1%)
CIE-LABlab(54.11, 63.11, -48.31)
CIE-LCHlch(54.11, 79.48, 322.57°)
OKLaboklab(63.15% 0.1664 -0.1346)
OKLCHoklch(63.15% 0.214 321)
XYZxyz(37.0710, 22.0792, 65.9143)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151D6 #66D651
analogous
#7E51D6 #C151D6 #D651A9
triadic
#C151D6 #D6C151 #51D6C1
tetradic
#C151D6 #D67E51 #66D651 #51A9D6
square
#C151D6 #D67E51 #66D651 #51A9D6
split-complementary
#C151D6 #A9D651 #51D67E
monochromatic
#7B218C #A62DBD #C151D6 #D383E2 #E4B4ED

Accessibility & contrast

On white

3.88
#C151D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C151D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151D6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151D6#FFFFFF#000000##000000
##C151D61.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#5F86D3
Tritanopia (blue-blind)
#C3668C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c151d6;
/* rgb */ color: rgb(193, 81, 214);
/* oklch */ color: oklch(63.1% 0.214 321.0);
Tailwind
colors: {
  custom: {
    50: '#d789e3',
    500: '#c151d6',
    950: '#000000',
  },
}
SCSS
$custom: #c151d6;
$custom-light: #d789e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c151d6",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 290.526,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.21401,
    "h": 321
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#C151D6
secondary
#AFDCA7
accent
#E5435C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C151D6

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

Preview Lab → · Contrast checker → · Palette generator →

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