#C156E7#C156E7

#C156E7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.223 H 316.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C156E7
RGBrgb(193, 86, 231)
HSLhsl(284, 75%, 62%)
HSVhsv(284, 63%, 91%)
CMYKcmyk(16.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(55.85, 64.18, -55.13)
CIE-LCHlch(55.85, 84.61, 319.34°)
OKLaboklab(64.71% 0.1606 -0.1546)
OKLCHoklch(64.71% 0.223 316.1)
XYZxyz(39.7417, 23.7640, 78.0793)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156E7 #7CE756
analogous
#7956E7 #C156E7 #E756C5
triadic
#C156E7 #E7C156 #56E7C1
tetradic
#C156E7 #E77956 #7CE756 #56C5E7
square
#C156E7 #E77956 #7CE756 #56C5E7
split-complementary
#C156E7 #C5E756 #56E779
monochromatic
#8418AA #AD20DF #C156E7 #D58CEF #E8C1F6

Accessibility & contrast

On white

3.65
#C156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C156E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156E7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156E7#FFFFFF#000000##000000
##C156E71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEB
Deuteranopia (green-blind)
#5689E3
Tritanopia (blue-blind)
#BF7097
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c156e7;
/* rgb */ color: rgb(193, 86, 231);
/* oklch */ color: oklch(64.7% 0.223 316.1);
Tailwind
colors: {
  custom: {
    50: '#d78cef',
    500: '#c156e7',
    950: '#000000',
  },
}
SCSS
$custom: #c156e7;
$custom-light: #d78cef;
$custom-dark: #000000;
JSON
{
  "hex": "#c156e7",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 284.276,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.22294,
    "h": 316.1
  },
  "luminance": 0.23763
}

Semantic roles & 50–950 ramp

primary
#C156E7
secondary
#C0E7B2
accent
#D70E43
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C156E7

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

Preview Lab → · Contrast checker → · Palette generator →

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