#C156EB#C156EB

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

Color values

HEX#C156EB
RGBrgb(193, 86, 235)
HSLhsl(283, 79%, 63%)
HSVhsv(283, 63%, 92%)
CMYKcmyk(17.9%, 63.4%, 0%, 7.8%)
CIE-LABlab(56.08, 64.98, -57.01)
CIE-LCHlch(56.08, 86.44, 318.74°)
OKLaboklab(64.95% 0.1606 -0.1601)
OKLCHoklch(64.95% 0.227 315.1)
XYZxyz(40.3131, 23.9926, 81.0886)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156EB #80EB56
analogous
#7656EB #C156EB #EB56CB
triadic
#C156EB #EBC156 #56EBC1
tetradic
#C156EB #EB7656 #80EB56 #56CBEB
square
#C156EB #EB7656 #80EB56 #56CBEB
split-complementary
#C156EB #CBEB56 #56EB76
monochromatic
#8515B2 #AD1FE5 #C156EB #D58DF1 #E9C3F8

Accessibility & contrast

On white

3.62
#C156EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#C156EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156EB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156EB#FFFFFF#000000##000000
##C156EB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880F0
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#BE7299
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c156eb;
/* rgb */ color: rgb(193, 86, 235);
/* oklch */ color: oklch(65.0% 0.227 315.1);
Tailwind
colors: {
  custom: {
    50: '#d78cf2',
    500: '#c156eb',
    950: '#000000',
  },
}
SCSS
$custom: #c156eb;
$custom-light: #d78cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c156eb",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 283.087,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.22672,
    "h": 315.1
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#C156EB
secondary
#C3E9B4
accent
#DB0A45
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C156EB

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

Preview Lab → · Contrast checker → · Palette generator →

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