#9156DD#9156DD

#9156DD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.198 H 300.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9156DD
RGBrgb(145, 86, 221)
HSLhsl(266, 67%, 60%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.4%, 61.1%, 0%, 13.3%)
CIE-LABlab(49.37, 51.14, -60.21)
CIE-LCHlch(49.37, 79.00, 310.34°)
OKLaboklab(58.55% 0.1007 -0.1709)
OKLCHoklch(58.55% 0.198 300.5)
XYZxyz(28.0528, 17.8956, 70.3689)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156DD #A2DD56
analogous
#565FDD #9156DD #D456DD
triadic
#9156DD #DD9156 #56DD91
tetradic
#9156DD #DD565F #A2DD56 #56DDD4
square
#9156DD #DD565F #A2DD56 #56DDD4
split-complementary
#9156DD #DDD456 #5FDD56
monochromatic
#551F9A #7129CD #9156DD #B289E7 #D3BCF2

Accessibility & contrast

On white

4.59
#9156DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9156DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9156DD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156DD#FFFFFF#000000##FFFFFF
##9156DD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#817392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9156dd;
/* rgb */ color: rgb(145, 86, 221);
/* oklch */ color: oklch(58.5% 0.198 300.5);
Tailwind
colors: {
  custom: {
    50: '#b688e8',
    500: '#9156dd',
    950: '#000000',
  },
}
SCSS
$custom: #9156dd;
$custom-light: #b688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9156dd",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 266.222,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.1984,
    "h": 300.5
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#9156DD
secondary
#CBE1AE
accent
#CE177E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156DD

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

Preview Lab → · Contrast checker → · Palette generator →

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