#C154E4#C154E4

#C154E4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.223 H 317.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C154E4
RGBrgb(193, 84, 228)
HSLhsl(285, 73%, 61%)
HSVhsv(285, 63%, 89%)
CMYKcmyk(15.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(55.36, 64.48, -54.23)
CIE-LCHlch(55.36, 84.25, 319.93°)
OKLaboklab(64.3% 0.163 -0.1519)
OKLCHoklch(64.3% 0.223 317)
XYZxyz(39.1642, 23.2811, 75.8144)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154E4 #77E454
analogous
#7954E4 #C154E4 #E454BF
triadic
#C154E4 #E4C154 #54E4C1
tetradic
#C154E4 #E47954 #77E454 #54BFE4
square
#C154E4 #E47954 #77E454 #54BFE4
split-complementary
#C154E4 #BFE454 #54E479
monochromatic
#821AA4 #AC22D9 #C154E4 #D489EC #E7BEF5

Accessibility & contrast

On white

3.71
#C154E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C154E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154E4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154E4#FFFFFF#000000##000000
##C154E41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE8
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#BF6E95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c154e4;
/* rgb */ color: rgb(193, 84, 228);
/* oklch */ color: oklch(64.3% 0.223 317.0);
Tailwind
colors: {
  custom: {
    50: '#d78bed',
    500: '#c154e4',
    950: '#000000',
  },
}
SCSS
$custom: #c154e4;
$custom-light: #d78bed;
$custom-dark: #000000;
JSON
{
  "hex": "#c154e4",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 285.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.2228,
    "h": 317
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#C154E4
secondary
#BCE5AF
accent
#D51140
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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