#9656E7#9656E7

#9656E7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.211 H 300.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9656E7
RGBrgb(150, 86, 231)
HSLhsl(266, 75%, 62%)
HSVhsv(266, 63%, 91%)
CMYKcmyk(35.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(50.58, 54.68, -63.88)
CIE-LCHlch(50.58, 84.09, 310.56°)
OKLaboklab(59.76% 0.1066 -0.1816)
OKLCHoklch(59.76% 0.211 300.4)
XYZxyz(30.3258, 18.9089, 77.6379)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656E7 #A7E756
analogous
#565EE7 #9656E7 #DF56E7
triadic
#9656E7 #E79656 #56E796
tetradic
#9656E7 #E7565E #A7E756 #56E7DF
square
#9656E7 #E7565E #A7E756 #56E7DF
split-complementary
#9656E7 #E7DF56 #5EE756
monochromatic
#5918AA #7520DF #9656E7 #B78CEF #D9C1F6

Accessibility & contrast

On white

4.39
#9656E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9656E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656E7#FFFFFF#000000##000000
##9656E71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#1977E4
Tritanopia (blue-blind)
#857697
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9656e7;
/* rgb */ color: rgb(150, 86, 231);
/* oklch */ color: oklch(59.8% 0.211 300.4);
Tailwind
colors: {
  custom: {
    50: '#ba89ef',
    500: '#9656e7',
    950: '#000000',
  },
}
SCSS
$custom: #9656e7;
$custom-light: #ba89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9656e7",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 266.483,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.21057,
    "h": 300.4
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#9656E7
secondary
#D0E7B2
accent
#D70E7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9656E7

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

Preview Lab → · Contrast checker → · Palette generator →

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