#C156E2#C156E2

#C156E2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.218 H 317.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C156E2
RGBrgb(193, 86, 226)
HSLhsl(286, 71%, 61%)
HSVhsv(286, 62%, 89%)
CMYKcmyk(14.6%, 61.9%, 0%, 11.4%)
CIE-LABlab(55.57, 63.20, -52.77)
CIE-LCHlch(55.57, 82.34, 320.14°)
OKLaboklab(64.42% 0.1607 -0.1477)
OKLCHoklch(64.42% 0.218 317.4)
XYZxyz(39.0456, 23.4856, 74.4132)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156E2 #77E256
analogous
#7B56E2 #C156E2 #E256BD
triadic
#C156E2 #E2C156 #56E2C1
tetradic
#C156E2 #E27B56 #77E256 #56BDE2
square
#C156E2 #E27B56 #77E256 #56BDE2
split-complementary
#C156E2 #BDE256 #56E27B
monochromatic
#821CA2 #AC25D6 #C156E2 #D48AEB #E7BEF4

Accessibility & contrast

On white

3.69
#C156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C156E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156E2#FFFFFF#000000##000000
##C156E21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE6
Deuteranopia (green-blind)
#5A88DF
Tritanopia (blue-blind)
#C06E94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c156e2;
/* rgb */ color: rgb(193, 86, 226);
/* oklch */ color: oklch(64.4% 0.218 317.4);
Tailwind
colors: {
  custom: {
    50: '#d78cec',
    500: '#c156e2',
    950: '#000000',
  },
}
SCSS
$custom: #c156e2;
$custom-light: #d78cec;
$custom-dark: #000000;
JSON
{
  "hex": "#c156e2",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 285.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.21823,
    "h": 317.4
  },
  "luminance": 0.23484
}

Semantic roles & 50–950 ramp

primary
#C156E2
secondary
#BCE4B0
accent
#D31340
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C156E2

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

Preview Lab → · Contrast checker → · Palette generator →

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