#C154E8#C154E8

#C154E8 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.227 H 316.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C154E8
RGBrgb(193, 84, 232)
HSLhsl(284, 76%, 62%)
HSVhsv(284, 64%, 91%)
CMYKcmyk(16.8%, 63.8%, 0%, 9%)
CIE-LABlab(55.59, 65.26, -56.11)
CIE-LCHlch(55.59, 86.07, 319.31°)
OKLaboklab(64.54% 0.1629 -0.1574)
OKLCHoklch(64.54% 0.227 316)
XYZxyz(39.7259, 23.5057, 78.7727)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154E8 #7BE854
analogous
#7754E8 #C154E8 #E854C5
triadic
#C154E8 #E8C154 #54E8C1
tetradic
#C154E8 #E87754 #7BE854 #54C5E8
square
#C154E8 #E87754 #7BE854 #54C5E8
split-complementary
#C154E8 #C5E854 #54E877
monochromatic
#8417AB #AD1EE1 #C154E8 #D58AEF #E8C0F7

Accessibility & contrast

On white

3.68
#C154E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C154E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154E8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154E8#FFFFFF#000000##000000
##C154E81.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEC
Deuteranopia (green-blind)
#5488E4
Tritanopia (blue-blind)
#BF6F97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c154e8;
/* rgb */ color: rgb(193, 84, 232);
/* oklch */ color: oklch(64.5% 0.227 316.0);
Tailwind
colors: {
  custom: {
    50: '#d78bf0',
    500: '#c154e8',
    950: '#000000',
  },
}
SCSS
$custom: #c154e8;
$custom-light: #d78bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c154e8",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 284.189,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.22653,
    "h": 316
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#C154E8
secondary
#BFE7B1
accent
#D80D43
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C154E8

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

Preview Lab → · Contrast checker → · Palette generator →

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