#C156EA#C156EA

#C156EA is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.226 H 315.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C156EA
RGBrgb(193, 86, 234)
HSLhsl(283, 78%, 63%)
HSVhsv(283, 63%, 92%)
CMYKcmyk(17.5%, 63.2%, 0%, 8.2%)
CIE-LABlab(56.02, 64.78, -56.54)
CIE-LCHlch(56.02, 85.98, 318.88°)
OKLaboklab(64.89% 0.1606 -0.1587)
OKLCHoklch(64.89% 0.226 315.3)
XYZxyz(40.1690, 23.9349, 80.3299)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156EA #7FEA56
analogous
#7756EA #C156EA #EA56C9
triadic
#C156EA #EAC156 #56EAC1
tetradic
#C156EA #EA7756 #7FEA56 #56C9EA
square
#C156EA #EA7756 #7FEA56 #56C9EA
split-complementary
#C156EA #C9EA56 #56EA77
monochromatic
#8516B0 #AD20E3 #C156EA #D58CF1 #E9C3F8

Accessibility & contrast

On white

3.63
#C156EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C156EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156EA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156EA#FFFFFF#000000##000000
##C156EA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EE
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#BE7199
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c156ea;
/* rgb */ color: rgb(193, 86, 234);
/* oklch */ color: oklch(64.9% 0.226 315.3);
Tailwind
colors: {
  custom: {
    50: '#d78cf1',
    500: '#c156ea',
    950: '#000000',
  },
}
SCSS
$custom: #c156ea;
$custom-light: #d78cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c156ea",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 283.378,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6489,
    "c": 0.22577,
    "h": 315.3
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#C156EA
secondary
#C2E9B3
accent
#DA0B45
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C156EA

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

Preview Lab → · Contrast checker → · Palette generator →

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