#9656E4#9656E4

#9656E4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.207 H 301.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9656E4
RGBrgb(150, 86, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(34.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(50.38, 53.94, -62.51)
CIE-LCHlch(50.38, 82.57, 310.79°)
OKLaboklab(59.56% 0.1068 -0.1775)
OKLCHoklch(59.56% 0.207 301)
XYZxyz(29.9057, 18.7409, 75.4256)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656E4 #A4E456
analogous
#565DE4 #9656E4 #DD56E4
triadic
#9656E4 #E49656 #56E496
tetradic
#9656E4 #E4565D #A4E456 #56E4DD
square
#9656E4 #E4565D #A4E456 #56E4DD
split-complementary
#9656E4 #E4DD56 #5DE456
monochromatic
#591AA5 #7523DA #9656E4 #B78BEC #D8C0F5

Accessibility & contrast

On white

4.42
#9656E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9656E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656E4#FFFFFF#000000##000000
##9656E41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2177E1
Tritanopia (blue-blind)
#867595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9656e4;
/* rgb */ color: rgb(150, 86, 228);
/* oklch */ color: oklch(59.6% 0.207 301.0);
Tailwind
colors: {
  custom: {
    50: '#ba89ed',
    500: '#9656e4',
    950: '#000000',
  },
}
SCSS
$custom: #9656e4;
$custom-light: #ba89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9656e4",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 267.042,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.2072,
    "h": 301
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#9656E4
secondary
#CEE5B0
accent
#D5117C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9656E4

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

Preview Lab → · Contrast checker → · Palette generator →

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