#9556EB#9556EB

#9556EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.215 H 299.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9556EB
RGBrgb(149, 86, 235)
HSLhsl(265, 79%, 63%)
HSVhsv(265, 63%, 92%)
CMYKcmyk(36.6%, 63.4%, 0%, 7.8%)
CIE-LABlab(50.74, 55.45, -65.89)
CIE-LCHlch(50.74, 86.11, 310.08°)
OKLaboklab(59.94% 0.105 -0.1875)
OKLCHoklch(59.94% 0.215 299.3)
XYZxyz(30.7139, 19.0430, 80.6387)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9556EB #ACEB56
analogous
#5661EB #9556EB #DF56EB
triadic
#9556EB #EB9556 #56EB95
tetradic
#9556EB #EB5661 #ACEB56 #56EBDF
square
#9556EB #EB5661 #ACEB56 #56EBDF
split-complementary
#9556EB #EBDF56 #61EB56
monochromatic
#5715B2 #731FE5 #9556EB #B78DF1 #DAC3F8

Accessibility & contrast

On white

4.37
#9556EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9556EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9556EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9556EB#FFFFFF#000000##000000
##9556EB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0478E8
Tritanopia (blue-blind)
#827799
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9556eb;
/* rgb */ color: rgb(149, 86, 235);
/* oklch */ color: oklch(59.9% 0.215 299.3);
Tailwind
colors: {
  custom: {
    50: '#ba89f2',
    500: '#9556eb',
    950: '#000000',
  },
}
SCSS
$custom: #9556eb;
$custom-light: #ba89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9556eb",
  "rgb": {
    "r": 149,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 265.369,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.21489,
    "h": 299.3
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#9556EB
secondary
#D3E9B4
accent
#DB0A83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9556EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9556EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva