#9657E7#9657E7

#9657E7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.209 H 300.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9657E7
RGBrgb(150, 87, 231)
HSLhsl(266, 75%, 62%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(35.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(50.77, 54.17, -63.58)
CIE-LCHlch(50.77, 83.52, 310.43°)
OKLaboklab(59.9% 0.1055 -0.1807)
OKLCHoklch(59.9% 0.209 300.3)
XYZxyz(30.4062, 19.0697, 77.6647)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657E7 #A8E757
analogous
#5760E7 #9657E7 #DE57E7
triadic
#9657E7 #E79657 #57E796
tetradic
#9657E7 #E75760 #A8E757 #57E7DE
square
#9657E7 #E75760 #A8E757 #57E7DE
split-complementary
#9657E7 #E7DE57 #60E757
monochromatic
#5918AB #7521DF #9657E7 #B78DEF #D9C2F6

Accessibility & contrast

On white

4.36
#9657E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9657E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657E7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657E7#FFFFFF#000000##000000
##9657E71.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#857697
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9657e7;
/* rgb */ color: rgb(150, 87, 231);
/* oklch */ color: oklch(59.9% 0.209 300.3);
Tailwind
colors: {
  custom: {
    50: '#ba8aef',
    500: '#9657e7',
    950: '#000000',
  },
}
SCSS
$custom: #9657e7;
$custom-light: #ba8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9657e7",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 266.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.20923,
    "h": 300.3
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9657E7

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

Preview Lab → · Contrast checker → · Palette generator →

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