#C154E9#C154E9

#C154E9 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.227 H 315.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C154E9
RGBrgb(193, 84, 233)
HSLhsl(284, 77%, 62%)
HSVhsv(284, 64%, 91%)
CMYKcmyk(17.2%, 63.9%, 0%, 8.6%)
CIE-LABlab(55.65, 65.46, -56.58)
CIE-LCHlch(55.65, 86.52, 319.16°)
OKLaboklab(64.6% 0.1629 -0.1588)
OKLCHoklch(64.6% 0.227 315.7)
XYZxyz(39.8683, 23.5627, 79.5229)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154E9 #7CE954
analogous
#7754E9 #C154E9 #E954C6
triadic
#C154E9 #E9C154 #54E9C1
tetradic
#C154E9 #E97754 #7CE954 #54C6E9
square
#C154E9 #E97754 #7CE954 #54C6E9
split-complementary
#C154E9 #C6E954 #54E977
monochromatic
#8416AC #AD1EE2 #C154E9 #D58AF0 #E8C0F7

Accessibility & contrast

On white

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

On black

5.71
#C154E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154E9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154E9#FFFFFF#000000##000000
##C154E91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#157FED
Deuteranopia (green-blind)
#5388E5
Tritanopia (blue-blind)
#BE7097
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c154e9;
/* rgb */ color: rgb(193, 84, 233);
/* oklch */ color: oklch(64.6% 0.227 315.7);
Tailwind
colors: {
  custom: {
    50: '#d78bf1',
    500: '#c154e9',
    950: '#000000',
  },
}
SCSS
$custom: #c154e9;
$custom-light: #d78bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c154e9",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 283.893,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64601,
    "c": 0.22747,
    "h": 315.7
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#C154E9
secondary
#C0E8B1
accent
#D90C43
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C154E9

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

Preview Lab → · Contrast checker → · Palette generator →

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