#C151E5#C151E5

#C151E5 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.228 H 316.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C151E5
RGBrgb(193, 81, 229)
HSLhsl(285, 74%, 61%)
HSVhsv(285, 65%, 90%)
CMYKcmyk(15.7%, 64.6%, 0%, 10.2%)
CIE-LABlab(54.95, 65.97, -55.45)
CIE-LCHlch(54.95, 86.18, 319.95°)
OKLaboklab(64.02% 0.1663 -0.1555)
OKLCHoklch(64.02% 0.228 316.9)
XYZxyz(39.0755, 22.8810, 76.4717)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151E5 #75E551
analogous
#7751E5 #C151E5 #E551BF
triadic
#C151E5 #E5C151 #51E5C1
tetradic
#C151E5 #E57751 #75E551 #51BFE5
square
#C151E5 #E57751 #75E551 #51BFE5
split-complementary
#C151E5 #BFE551 #51E577
monochromatic
#8118A3 #AC20D8 #C151E5 #D486ED #E7BBF5

Accessibility & contrast

On white

3.77
#C151E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C151E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151E5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151E5#FFFFFF#000000##000000
##C151E51.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#157DE9
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#BF6C94
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c151e5;
/* rgb */ color: rgb(193, 81, 229);
/* oklch */ color: oklch(64.0% 0.228 316.9);
Tailwind
colors: {
  custom: {
    50: '#d789ee',
    500: '#c151e5',
    950: '#000000',
  },
}
SCSS
$custom: #c151e5;
$custom-light: #d789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c151e5",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 285.405,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.22767,
    "h": 316.9
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#C151E5
secondary
#BBE5AD
accent
#D60F40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151E5

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

Preview Lab → · Contrast checker → · Palette generator →

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