#C156CA#C156CA

#C156CA is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.1% C 0.196 H 324.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C156CA
RGBrgb(193, 86, 202)
HSLhsl(295, 52%, 56%)
HSVhsv(295, 57%, 79%)
CMYKcmyk(4.5%, 57.4%, 0%, 20.8%)
CIE-LABlab(54.30, 58.67, -41.17)
CIE-LCHlch(54.30, 71.67, 324.95°)
OKLaboklab(63.08% 0.1596 -0.1139)
OKLCHoklch(63.08% 0.196 324.5)
XYZxyz(35.9799, 22.2593, 58.2670)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156CA #5FCA56
analogous
#8756CA #C156CA #CA5699
triadic
#C156CA #CAC156 #56CAC1
tetradic
#C156CA #CA8756 #5FCA56 #5699CA
square
#C156CA #CA8756 #5FCA56 #5699CA
split-complementary
#C156CA #99CA56 #56CA87
monochromatic
#77287E #A336AD #C156CA #D285D9 #E3B3E7

Accessibility & contrast

On white

3.85
#C156CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C156CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156CA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156CA#FFFFFF#000000##000000
##C156CA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CE
Deuteranopia (green-blind)
#6986C7
Tritanopia (blue-blind)
#C56688
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c156ca;
/* rgb */ color: rgb(193, 86, 202);
/* oklch */ color: oklch(63.1% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#d68bda',
    500: '#c156ca',
    950: '#000000',
  },
}
SCSS
$custom: #c156ca;
$custom-light: #d68bda;
$custom-dark: #000000;
JSON
{
  "hex": "#c156ca",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 295.345,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.19613,
    "h": 324.5
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#C156CA
secondary
#AAD6A6
accent
#DC4C57
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C156CA

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

Preview Lab → · Contrast checker → · Palette generator →

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