#9156DC#9156DC

#9156DC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.197 H 300.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9156DC
RGBrgb(145, 86, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 61%, 86%)
CMYKcmyk(34.1%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.30, 50.89, -59.75)
CIE-LCHlch(49.30, 78.48, 310.42°)
OKLaboklab(58.48% 0.1008 -0.1696)
OKLCHoklch(58.48% 0.197 300.7)
XYZxyz(27.9200, 17.8425, 69.6693)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156DC #A1DC56
analogous
#565EDC #9156DC #D456DC
triadic
#9156DC #DC9156 #56DC91
tetradic
#9156DC #DC565E #A1DC56 #56DCD4
square
#9156DC #DC565E #A1DC56 #56DCD4
split-complementary
#9156DC #DCD456 #5EDC56
monochromatic
#552098 #712ACB #9156DC #B289E6 #D3BBF1

Accessibility & contrast

On white

4.60
#9156DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9156DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9156DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156DC#FFFFFF#000000##FFFFFF
##9156DC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#817391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9156dc;
/* rgb */ color: rgb(145, 86, 220);
/* oklch */ color: oklch(58.5% 0.197 300.7);
Tailwind
colors: {
  custom: {
    50: '#b688e8',
    500: '#9156dc',
    950: '#000000',
  },
}
SCSS
$custom: #9156dc;
$custom-light: #b688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9156dc",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 266.418,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.19725,
    "h": 300.7
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#9156DC
secondary
#CAE1AD
accent
#E93F9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156DC

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

Preview Lab → · Contrast checker → · Palette generator →

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