#C154EC#C154EC

#C154EC is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.230 H 315.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C154EC
RGBrgb(193, 84, 236)
HSLhsl(283, 80%, 63%)
HSVhsv(283, 64%, 93%)
CMYKcmyk(18.2%, 64.4%, 0%, 7.5%)
CIE-LABlab(55.82, 66.05, -57.98)
CIE-LCHlch(55.82, 87.89, 318.72°)
OKLaboklab(64.78% 0.1628 -0.1629)
OKLCHoklch(64.78% 0.23 315)
XYZxyz(40.3005, 23.7356, 81.7991)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154EC #7FEC54
analogous
#7554EC #C154EC #EC54CB
triadic
#C154EC #ECC154 #54ECC1
tetradic
#C154EC #EC7554 #7FEC54 #54CBEC
square
#C154EC #EC7554 #7FEC54 #54CBEC
split-complementary
#C154EC #CBEC54 #54EC75
monochromatic
#8514B2 #AD1DE6 #C154EC #D58BF2 #E9C2F8

Accessibility & contrast

On white

3.65
#C154EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C154EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154EC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154EC#FFFFFF#000000##000000
##C154EC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#097FF1
Deuteranopia (green-blind)
#5089E8
Tritanopia (blue-blind)
#BE7199
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c154ec;
/* rgb */ color: rgb(193, 84, 236);
/* oklch */ color: oklch(64.8% 0.230 315.0);
Tailwind
colors: {
  custom: {
    50: '#d78bf3',
    500: '#c154ec',
    950: '#000000',
  },
}
SCSS
$custom: #c154ec;
$custom-light: #d78bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c154ec",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 283.026,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64783,
    "c": 0.23028,
    "h": 315
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#C154EC
secondary
#C2E9B2
accent
#DC0945
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C154EC

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

Preview Lab → · Contrast checker → · Palette generator →

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