#9156CA#9156CA

#9156CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.176 H 304.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9156CA
RGBrgb(145, 86, 202)
HSLhsl(271, 52%, 56%)
HSVhsv(271, 57%, 79%)
CMYKcmyk(28.2%, 57.4%, 0%, 20.8%)
CIE-LABlab(48.18, 46.51, -51.26)
CIE-LCHlch(48.18, 69.22, 312.22°)
OKLaboklab(57.3% 0.1011 -0.1447)
OKLCHoklch(57.3% 0.176 304.9)
XYZxyz(25.6632, 16.9397, 57.7834)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156CA #8FCA56
analogous
#5756CA #9156CA #CA56C9
triadic
#9156CA #CA9156 #56CA91
tetradic
#9156CA #CA5756 #8FCA56 #56C9CA
square
#9156CA #CA5756 #8FCA56 #56C9CA
split-complementary
#9156CA #C9CA56 #56CA57
monochromatic
#54287E #7236AD #9156CA #AF85D9 #CEB3E7

Accessibility & contrast

On white

4.79
#9156CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9156CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156CA#FFFFFF#000000##FFFFFF
##9156CA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#876D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9156ca;
/* rgb */ color: rgb(145, 86, 202);
/* oklch */ color: oklch(57.3% 0.176 304.9);
Tailwind
colors: {
  custom: {
    50: '#b588db',
    500: '#9156ca',
    950: '#000000',
  },
}
SCSS
$custom: #9156ca;
$custom-light: #b588db;
$custom-dark: #000000;
JSON
{
  "hex": "#9156ca",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 270.517,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.17647,
    "h": 304.9
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#9156CA
secondary
#BDD6A6
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9156CA

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

Preview Lab → · Contrast checker → · Palette generator →

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