#C151E7#C151E7

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

Color values

HEX#C151E7
RGBrgb(193, 81, 231)
HSLhsl(285, 76%, 61%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.5%, 64.9%, 0%, 9.4%)
CIE-LABlab(55.07, 66.36, -56.39)
CIE-LCHlch(55.07, 87.08, 319.64°)
OKLaboklab(64.14% 0.1663 -0.1582)
OKLCHoklch(64.14% 0.23 316.4)
XYZxyz(39.3564, 22.9933, 77.9508)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151E7 #77E751
analogous
#7651E7 #C151E7 #E751C2
triadic
#C151E7 #E7C151 #51E7C1
tetradic
#C151E7 #E77651 #77E751 #51C2E7
square
#C151E7 #E77651 #77E751 #51C2E7
split-complementary
#C151E7 #C2E751 #51E776
monochromatic
#8217A7 #AC1EDC #C151E7 #D487EE #E7BDF6

Accessibility & contrast

On white

3.75
#C151E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#C151E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151E7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151E7#FFFFFF#000000##000000
##C151E71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEB
Deuteranopia (green-blind)
#5287E3
Tritanopia (blue-blind)
#BF6D95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c151e7;
/* rgb */ color: rgb(193, 81, 231);
/* oklch */ color: oklch(64.1% 0.230 316.4);
Tailwind
colors: {
  custom: {
    50: '#d789ef',
    500: '#c151e7',
    950: '#000000',
  },
}
SCSS
$custom: #c151e7;
$custom-light: #d789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c151e7",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 284.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.22951,
    "h": 316.4
  },
  "luminance": 0.22992
}

Semantic roles & 50–950 ramp

primary
#C151E7
secondary
#BCE6AE
accent
#D80E41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C151E7

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

Preview Lab → · Contrast checker → · Palette generator →

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