#C151E8#C151E8

#C151E8 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.2% C 0.230 H 316.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C151E8
RGBrgb(193, 81, 232)
HSLhsl(285, 77%, 61%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.8%, 65.1%, 0%, 9%)
CIE-LABlab(55.12, 66.55, -56.86)
CIE-LCHlch(55.12, 87.53, 319.49°)
OKLaboklab(64.21% 0.1662 -0.1596)
OKLCHoklch(64.21% 0.23 316.2)
XYZxyz(39.4980, 23.0500, 78.6968)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151E8 #78E851
analogous
#7651E8 #C151E8 #E851C4
triadic
#C151E8 #E8C151 #51E8C1
tetradic
#C151E8 #E87651 #78E851 #51C4E8
square
#C151E8 #E87651 #78E851 #51C4E8
split-complementary
#C151E8 #C4E851 #51E876
monochromatic
#8316A8 #AD1DDE #C151E8 #D487EF #E8BDF6

Accessibility & contrast

On white

3.74
#C151E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C151E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151E8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151E8#FFFFFF#000000##000000
##C151E81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#087DED
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#BF6D96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c151e8;
/* rgb */ color: rgb(193, 81, 232);
/* oklch */ color: oklch(64.2% 0.230 316.2);
Tailwind
colors: {
  custom: {
    50: '#d789f0',
    500: '#c151e8',
    950: '#000000',
  },
}
SCSS
$custom: #c151e8;
$custom-light: #d789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c151e8",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 284.503,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64205,
    "c": 0.23043,
    "h": 316.2
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#C151E8
secondary
#BDE7AE
accent
#D90D41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C151E8

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

Preview Lab → · Contrast checker → · Palette generator →

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