#C156E3#C156E3

#C156E3 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.219 H 317.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C156E3
RGBrgb(193, 86, 227)
HSLhsl(286, 72%, 61%)
HSVhsv(286, 62%, 89%)
CMYKcmyk(15%, 62.1%, 0%, 11%)
CIE-LABlab(55.62, 63.40, -53.25)
CIE-LCHlch(55.62, 82.79, 319.97°)
OKLaboklab(64.47% 0.1607 -0.1491)
OKLCHoklch(64.47% 0.219 317.1)
XYZxyz(39.1832, 23.5406, 75.1379)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156E3 #78E356
analogous
#7B56E3 #C156E3 #E356BF
triadic
#C156E3 #E3C156 #56E3C1
tetradic
#C156E3 #E37B56 #78E356 #56BFE3
square
#C156E3 #E37B56 #78E356 #56BFE3
split-complementary
#C156E3 #BFE356 #56E37B
monochromatic
#831BA4 #AD24D8 #C156E3 #D48BEC #E8BFF4

Accessibility & contrast

On white

3.68
#C156E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C156E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156E3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156E3#FFFFFF#000000##000000
##C156E31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE7
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#C06F95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c156e3;
/* rgb */ color: rgb(193, 86, 227);
/* oklch */ color: oklch(64.5% 0.219 317.1);
Tailwind
colors: {
  custom: {
    50: '#d78cec',
    500: '#c156e3',
    950: '#000000',
  },
}
SCSS
$custom: #c156e3;
$custom-light: #d78cec;
$custom-dark: #000000;
JSON
{
  "hex": "#c156e3",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 285.532,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.21917,
    "h": 317.1
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#C156E3
secondary
#BDE5B0
accent
#D41241
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C156E3

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

Preview Lab → · Contrast checker → · Palette generator →

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