#9656E1#9656E1

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

Color values

HEX#9656E1
RGBrgb(150, 86, 225)
HSLhsl(268, 70%, 61%)
HSVhsv(268, 62%, 88%)
CMYKcmyk(33.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(50.19, 53.21, -61.13)
CIE-LCHlch(50.19, 81.05, 311.04°)
OKLaboklab(59.35% 0.107 -0.1735)
OKLCHoklch(59.35% 0.204 301.7)
XYZxyz(29.4929, 18.5757, 73.2513)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656E1 #A1E156
analogous
#565BE1 #9656E1 #DB56E1
triadic
#9656E1 #E19656 #56E196
tetradic
#9656E1 #E1565B #A1E156 #56E1DB
square
#9656E1 #E1565B #A1E156 #56E1DB
split-complementary
#9656E1 #E1DB56 #5BE156
monochromatic
#591CA0 #7626D4 #9656E1 #B68AEA #D7BEF3

Accessibility & contrast

On white

4.45
#9656E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9656E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656E1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656E1#FFFFFF#000000##000000
##9656E11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#2777DE
Tritanopia (blue-blind)
#877494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9656e1;
/* rgb */ color: rgb(150, 86, 225);
/* oklch */ color: oklch(59.4% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#ba89eb',
    500: '#9656e1',
    950: '#000000',
  },
}
SCSS
$custom: #9656e1;
$custom-light: #ba89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9656e1",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 267.626,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.20383,
    "h": 301.7
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#9656E1
secondary
#CBE4AF
accent
#D2147A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9656E1

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

Preview Lab → · Contrast checker → · Palette generator →

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