#9156E0#9156E0

#9156E0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.202 H 299.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9156E0
RGBrgb(145, 86, 224)
HSLhsl(266, 69%, 61%)
HSVhsv(266, 62%, 88%)
CMYKcmyk(35.3%, 61.6%, 0%, 12.2%)
CIE-LABlab(49.56, 51.88, -61.60)
CIE-LCHlch(49.56, 80.53, 310.11°)
OKLaboklab(58.75% 0.1005 -0.175)
OKLCHoklch(58.75% 0.202 299.9)
XYZxyz(28.4561, 18.0569, 72.4927)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156E0 #A5E056
analogous
#5660E0 #9156E0 #D656E0
triadic
#9156E0 #E09156 #56E091
tetradic
#9156E0 #E05660 #A5E056 #56E0D6
square
#9156E0 #E05660 #A5E056 #56E0D6
split-complementary
#9156E0 #E0D656 #60E056
monochromatic
#541D9F #7027D2 #9156E0 #B38AE9 #D4BDF3

Accessibility & contrast

On white

4.55
#9156E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9156E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156E0#FFFFFF#000000##000000
##9156E01.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#807493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9156e0;
/* rgb */ color: rgb(145, 86, 224);
/* oklch */ color: oklch(58.8% 0.202 299.9);
Tailwind
colors: {
  custom: {
    50: '#b688ea',
    500: '#9156e0',
    950: '#000000',
  },
}
SCSS
$custom: #9156e0;
$custom-light: #b688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9156e0",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 265.652,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.20183,
    "h": 299.9
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

primary
#9156E0
secondary
#CDE3AF
accent
#D11580
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156E0

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

Preview Lab → · Contrast checker → · Palette generator →

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