#C156F2#C156F2

#C156F2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.233 H 313.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C156F2
RGBrgb(193, 86, 242)
HSLhsl(281, 86%, 64%)
HSVhsv(281, 64%, 95%)
CMYKcmyk(20.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(56.49, 66.38, -60.26)
CIE-LCHlch(56.49, 89.66, 317.77°)
OKLaboklab(65.38% 0.1603 -0.1696)
OKLCHoklch(65.38% 0.233 313.4)
XYZxyz(41.3444, 24.4051, 86.5199)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C156F2 #87F256
analogous
#7356F2 #C156F2 #F256D5
triadic
#C156F2 #F2C156 #56F2C1
tetradic
#C156F2 #F27356 #87F256 #56D5F2
square
#C156F2 #F27356 #87F256 #56D5F2
split-complementary
#C156F2 #D5F256 #56F273
monochromatic
#880FBF #AC1DEE #C156F2 #D68FF6 #EBC8FB

Accessibility & contrast

On white

3.57
#C156F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C156F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C156F2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C156F2#FFFFFF#000000##000000
##C156F21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#BC749D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c156f2;
/* rgb */ color: rgb(193, 86, 242);
/* oklch */ color: oklch(65.4% 0.233 313.4);
Tailwind
colors: {
  custom: {
    50: '#d88cf7',
    500: '#c156f2',
    950: '#000000',
  },
}
SCSS
$custom: #c156f2;
$custom-light: #d88cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c156f2",
  "rgb": {
    "r": 193,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 281.154,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.23336,
    "h": 313.4
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#C156F2
secondary
#C8EDB7
accent
#E20349
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #C156F2

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

Preview Lab → · Contrast checker → · Palette generator →

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