#9156CE#9156CE

#9156CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.181 H 303.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9156CE
RGBrgb(145, 86, 206)
HSLhsl(270, 55%, 57%)
HSVhsv(270, 58%, 81%)
CMYKcmyk(29.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(48.43, 47.47, -53.17)
CIE-LCHlch(48.43, 71.28, 311.76°)
OKLaboklab(57.56% 0.1011 -0.1503)
OKLCHoklch(57.56% 0.181 303.9)
XYZxyz(26.1429, 17.1316, 60.3100)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156CE #93CE56
analogous
#5657CE #9156CE #CD56CE
triadic
#9156CE #CE9156 #56CE91
tetradic
#9156CE #CE5657 #93CE56 #56CECD
square
#9156CE #CE5657 #93CE56 #56CECD
split-complementary
#9156CE #CECD56 #57CE56
monochromatic
#542683 #7234B3 #9156CE #B085DC #CFB5EA

Accessibility & contrast

On white

4.74
#9156CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9156CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156CE#FFFFFF#000000##FFFFFF
##9156CE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#866E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9156ce;
/* rgb */ color: rgb(145, 86, 206);
/* oklch */ color: oklch(57.6% 0.181 303.9);
Tailwind
colors: {
  custom: {
    50: '#b588de',
    500: '#9156ce',
    950: '#000000',
  },
}
SCSS
$custom: #9156ce;
$custom-light: #b588de;
$custom-dark: #000000;
JSON
{
  "hex": "#9156ce",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 269.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.1811,
    "h": 303.9
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#9156CE
secondary
#C0D8A8
accent
#DE4995
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9156CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9156CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva