#C151E1#C151E1

#C151E1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.224 H 318.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C151E1
RGBrgb(193, 81, 225)
HSLhsl(287, 71%, 60%)
HSVhsv(287, 64%, 88%)
CMYKcmyk(14.2%, 64%, 0%, 11.8%)
CIE-LABlab(54.72, 65.20, -53.56)
CIE-LCHlch(54.72, 84.38, 320.59°)
OKLaboklab(63.79% 0.1664 -0.15)
OKLCHoklch(63.79% 0.224 318)
XYZxyz(38.5235, 22.6602, 73.5642)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151E1 #71E151
analogous
#7951E1 #C151E1 #E151B9
triadic
#C151E1 #E1C151 #51E1C1
tetradic
#C151E1 #E17951 #71E151 #51B9E1
square
#C151E1 #E17951 #71E151 #51B9E1
split-complementary
#C151E1 #B9E151 #51E179
monochromatic
#801B9D #AA24D1 #C151E1 #D485EA #E6B9F3

Accessibility & contrast

On white

3.80
#C151E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C151E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151E1#FFFFFF#000000##000000
##C151E11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE5
Deuteranopia (green-blind)
#5787DD
Tritanopia (blue-blind)
#C06B92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c151e1;
/* rgb */ color: rgb(193, 81, 225);
/* oklch */ color: oklch(63.8% 0.224 318.0);
Tailwind
colors: {
  custom: {
    50: '#d789eb',
    500: '#c151e1',
    950: '#000000',
  },
}
SCSS
$custom: #c151e1;
$custom-light: #d789eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c151e1",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 286.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.63785,
    "c": 0.22401,
    "h": 318
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#C151E1
secondary
#B7E3AB
accent
#ED3A62
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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