#9556E2#9556E2

#9556E2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.205 H 301.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9556E2
RGBrgb(149, 86, 226)
HSLhsl(267, 71%, 61%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(34.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(50.14, 53.24, -61.78)
CIE-LCHlch(50.14, 81.55, 310.75°)
OKLaboklab(59.31% 0.1057 -0.1754)
OKLCHoklch(59.31% 0.205 301.1)
XYZxyz(29.4464, 18.5360, 73.9632)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9556E2 #A3E256
analogous
#565DE2 #9556E2 #DB56E2
triadic
#9556E2 #E29556 #56E295
tetradic
#9556E2 #E2565D #A3E256 #56E2DB
square
#9556E2 #E2565D #A3E256 #56E2DB
split-complementary
#9556E2 #E2DB56 #5DE256
monochromatic
#581CA2 #7525D6 #9556E2 #B68AEB #D7BEF4

Accessibility & contrast

On white

4.46
#9556E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9556E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9556E2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9556E2#FFFFFF#000000##000000
##9556E21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#2377DF
Tritanopia (blue-blind)
#857494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9556e2;
/* rgb */ color: rgb(149, 86, 226);
/* oklch */ color: oklch(59.3% 0.205 301.1);
Tailwind
colors: {
  custom: {
    50: '#b989ec',
    500: '#9556e2',
    950: '#000000',
  },
}
SCSS
$custom: #9556e2;
$custom-light: #b989ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9556e2",
  "rgb": {
    "r": 149,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 267,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.20478,
    "h": 301.1
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#9556E2
secondary
#CDE4B0
accent
#D3137C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9556E2

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

Preview Lab → · Contrast checker → · Palette generator →

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