#C156E8#C156E8

#C156E8 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.224 H 315.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C156E8
RGBrgb(193, 86, 232)
HSLhsl(284, 76%, 62%)
HSVhsv(284, 63%, 91%)
CMYKcmyk(16.8%, 62.9%, 0%, 9%)
CIE-LABlab(55.91, 64.38, -55.60)
CIE-LCHlch(55.91, 85.07, 319.18°)
OKLaboklab(64.77% 0.1606 -0.156)
OKLCHoklch(64.77% 0.224 315.8)
XYZxyz(39.8833, 23.8207, 78.8252)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156E8 #7DE856
analogous
#7856E8 #C156E8 #E856C6
triadic
#C156E8 #E8C156 #56E8C1
tetradic
#C156E8 #E87856 #7DE856 #56C6E8
square
#C156E8 #E87856 #7DE856 #56C6E8
split-complementary
#C156E8 #C6E856 #56E878
monochromatic
#8417AC #AD20E1 #C156E8 #D58CEF #E9C2F7

Accessibility & contrast

On white

3.64
#C156E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C156E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156E8#FFFFFF#000000##000000
##C156E81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F80EC
Deuteranopia (green-blind)
#5689E4
Tritanopia (blue-blind)
#BF7198
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c156e8;
/* rgb */ color: rgb(193, 86, 232);
/* oklch */ color: oklch(64.8% 0.224 315.8);
Tailwind
colors: {
  custom: {
    50: '#d78cf0',
    500: '#c156e8',
    950: '#000000',
  },
}
SCSS
$custom: #c156e8;
$custom-light: #d78cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c156e8",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 283.973,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.22387,
    "h": 315.8
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#C156E8
secondary
#C0E8B2
accent
#D80D43
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C156E8

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

Preview Lab → · Contrast checker → · Palette generator →

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