#C151E3#C151E3

#C151E3 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.226 H 317.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C151E3
RGBrgb(193, 81, 227)
HSLhsl(286, 72%, 60%)
HSVhsv(286, 64%, 89%)
CMYKcmyk(15%, 64.3%, 0%, 11%)
CIE-LABlab(54.83, 65.58, -54.51)
CIE-LCHlch(54.83, 85.28, 320.27°)
OKLaboklab(63.9% 0.1664 -0.1527)
OKLCHoklch(63.9% 0.226 317.4)
XYZxyz(38.7979, 22.7699, 75.0095)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151E3 #73E351
analogous
#7851E3 #C151E3 #E351BC
triadic
#C151E3 #E3C151 #51E3C1
tetradic
#C151E3 #E37851 #73E351 #51BCE3
square
#C151E3 #E37851 #73E351 #51BCE3
split-complementary
#C151E3 #BCE351 #51E378
monochromatic
#811AA0 #AB22D5 #C151E3 #D486EB #E7BAF4

Accessibility & contrast

On white

3.78
#C151E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#C151E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151E3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151E3#FFFFFF#000000##000000
##C151E31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7CE7
Deuteranopia (green-blind)
#5587DF
Tritanopia (blue-blind)
#C06B93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c151e3;
/* rgb */ color: rgb(193, 81, 227);
/* oklch */ color: oklch(63.9% 0.226 317.4);
Tailwind
colors: {
  custom: {
    50: '#d789ec',
    500: '#c151e3',
    950: '#000000',
  },
}
SCSS
$custom: #c151e3;
$custom-light: #d789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c151e3",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 286.027,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63903,
    "c": 0.22584,
    "h": 317.4
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#C151E3
secondary
#B9E4AC
accent
#D4113F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151E3

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

Preview Lab → · Contrast checker → · Palette generator →

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