#9656E2#9656E2

#9656E2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.205 H 301.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9656E2
RGBrgb(150, 86, 226)
HSLhsl(267, 71%, 61%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(33.6%, 61.9%, 0%, 11.4%)
CIE-LABlab(50.25, 53.46, -61.59)
CIE-LCHlch(50.25, 81.55, 310.96°)
OKLaboklab(59.42% 0.107 -0.1748)
OKLCHoklch(59.42% 0.205 301.5)
XYZxyz(29.6297, 18.6305, 73.9718)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656E2 #A2E256
analogous
#565CE2 #9656E2 #DC56E2
triadic
#9656E2 #E29656 #56E296
tetradic
#9656E2 #E2565C #A2E256 #56E2DC
square
#9656E2 #E2565C #A2E256 #56E2DC
split-complementary
#9656E2 #E2DC56 #5CE256
monochromatic
#591CA2 #7625D6 #9656E2 #B68AEB #D7BEF4

Accessibility & contrast

On white

4.44
#9656E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9656E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656E2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656E2#FFFFFF#000000##000000
##9656E21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#2577DF
Tritanopia (blue-blind)
#867494
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9656e2;
/* rgb */ color: rgb(150, 86, 226);
/* oklch */ color: oklch(59.4% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#ba89ec',
    500: '#9656e2',
    950: '#000000',
  },
}
SCSS
$custom: #9656e2;
$custom-light: #ba89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9656e2",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 267.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.20496,
    "h": 301.5
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#9656E2
secondary
#CCE4B0
accent
#D3137B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9656E2

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

Preview Lab → · Contrast checker → · Palette generator →

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