#C156EC#C156EC

#C156EC is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.228 H 314.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C156EC
RGBrgb(193, 86, 236)
HSLhsl(283, 80%, 63%)
HSVhsv(283, 64%, 93%)
CMYKcmyk(18.2%, 63.6%, 0%, 7.5%)
CIE-LABlab(56.14, 65.18, -57.48)
CIE-LCHlch(56.14, 86.90, 318.59°)
OKLaboklab(65.01% 0.1605 -0.1614)
OKLCHoklch(65.01% 0.228 314.8)
XYZxyz(40.4580, 24.0505, 81.8516)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156EC #81EC56
analogous
#7656EC #C156EC #EC56CC
triadic
#C156EC #ECC156 #56ECC1
tetradic
#C156EC #EC7656 #81EC56 #56CCEC
square
#C156EC #EC7656 #81EC56 #56CCEC
split-complementary
#C156EC #CCEC56 #56EC76
monochromatic
#8614B3 #AD1FE6 #C156EC #D58DF2 #E9C4F8

Accessibility & contrast

On white

3.61
#C156EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C156EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156EC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156EC#FFFFFF#000000##000000
##C156EC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580F1
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#BE729A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c156ec;
/* rgb */ color: rgb(193, 86, 236);
/* oklch */ color: oklch(65.0% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#d78cf3',
    500: '#c156ec',
    950: '#000000',
  },
}
SCSS
$custom: #c156ec;
$custom-light: #d78cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c156ec",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 282.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.22766,
    "h": 314.8
  },
  "luminance": 0.24049
}

Semantic roles & 50–950 ramp

primary
#C156EC
secondary
#C3EAB4
accent
#DC0946
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C156EC

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

Preview Lab → · Contrast checker → · Palette generator →

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