#9156DB#9156DB

#9156DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.196 H 300.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9156DB
RGBrgb(145, 86, 219)
HSLhsl(267, 65%, 60%)
HSVhsv(267, 61%, 86%)
CMYKcmyk(33.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.24, 50.64, -59.28)
CIE-LCHlch(49.24, 77.97, 310.51°)
OKLaboklab(58.41% 0.1008 -0.1682)
OKLCHoklch(58.41% 0.196 300.9)
XYZxyz(27.7880, 17.7896, 68.9739)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156DB #A0DB56
analogous
#565DDB #9156DB #D456DB
triadic
#9156DB #DB9156 #56DB91
tetradic
#9156DB #DB565D #A0DB56 #56DBD4
square
#9156DB #DB565D #A0DB56 #56DBD4
split-complementary
#9156DB #DBD456 #5DDB56
monochromatic
#552097 #712BC9 #9156DB #B288E6 #D3BBF0

Accessibility & contrast

On white

4.61
#9156DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9156DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9156DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156DB#FFFFFF#000000##FFFFFF
##9156DB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#827290
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9156db;
/* rgb */ color: rgb(145, 86, 219);
/* oklch */ color: oklch(58.4% 0.196 300.9);
Tailwind
colors: {
  custom: {
    50: '#b688e7',
    500: '#9156db',
    950: '#000000',
  },
}
SCSS
$custom: #9156db;
$custom-light: #b688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9156db",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 266.617,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.19609,
    "h": 300.9
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#9156DB
secondary
#C9E0AD
accent
#E8409D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156DB

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

Preview Lab → · Contrast checker → · Palette generator →

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