#C156E6#C156E6

#C156E6 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.222 H 316.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C156E6
RGBrgb(193, 86, 230)
HSLhsl(285, 74%, 62%)
HSVhsv(285, 63%, 90%)
CMYKcmyk(16.1%, 62.6%, 0%, 9.8%)
CIE-LABlab(55.79, 63.99, -54.66)
CIE-LCHlch(55.79, 84.16, 319.49°)
OKLaboklab(64.65% 0.1606 -0.1532)
OKLCHoklch(64.65% 0.222 316.4)
XYZxyz(39.6009, 23.7077, 77.3376)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156E6 #7BE656
analogous
#7956E6 #C156E6 #E656C3
triadic
#C156E6 #E6C156 #56E6C1
tetradic
#C156E6 #E67956 #7BE656 #56C3E6
square
#C156E6 #E67956 #7BE656 #56C3E6
split-complementary
#C156E6 #C3E656 #56E679
monochromatic
#8419A9 #AD21DE #C156E6 #D58BEE #E8C1F6

Accessibility & contrast

On white

3.66
#C156E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C156E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156E6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156E6#FFFFFF#000000##000000
##C156E61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#237FEA
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#BF7097
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c156e6;
/* rgb */ color: rgb(193, 86, 230);
/* oklch */ color: oklch(64.7% 0.222 316.4);
Tailwind
colors: {
  custom: {
    50: '#d78cee',
    500: '#c156e6',
    950: '#000000',
  },
}
SCSS
$custom: #c156e6;
$custom-light: #d78cee;
$custom-dark: #000000;
JSON
{
  "hex": "#c156e6",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 284.583,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.22199,
    "h": 316.4
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

primary
#C156E6
secondary
#BFE6B1
accent
#D60F42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C156E6

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

Preview Lab → · Contrast checker → · Palette generator →

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