#9156DE#9156DE

#9156DE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.200 H 300.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9156DE
RGBrgb(145, 86, 222)
HSLhsl(266, 67%, 60%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.7%, 61.3%, 0%, 12.9%)
CIE-LABlab(49.43, 51.39, -60.67)
CIE-LCHlch(49.43, 79.51, 310.26°)
OKLaboklab(58.62% 0.1007 -0.1723)
OKLCHoklch(58.62% 0.2 300.3)
XYZxyz(28.1865, 17.9490, 71.0726)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156DE #A3DE56
analogous
#565FDE #9156DE #D556DE
triadic
#9156DE #DE9156 #56DE91
tetradic
#9156DE #DE565F #A3DE56 #56DED5
square
#9156DE #DE565F #A3DE56 #56DED5
split-complementary
#9156DE #DED556 #5FDE56
monochromatic
#551E9B #7028CE #9156DE #B289E8 #D4BCF2

Accessibility & contrast

On white

4.58
#9156DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9156DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156DE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156DE#FFFFFF#000000##000000
##9156DE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#817392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9156de;
/* rgb */ color: rgb(145, 86, 222);
/* oklch */ color: oklch(58.6% 0.200 300.3);
Tailwind
colors: {
  custom: {
    50: '#b688e9',
    500: '#9156de',
    950: '#000000',
  },
}
SCSS
$custom: #9156de;
$custom-light: #b688e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9156de",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 266.029,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.19954,
    "h": 300.3
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#9156DE
secondary
#CBE2AE
accent
#CF167F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156DE

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

Preview Lab → · Contrast checker → · Palette generator →

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