#9657E4#9657E4

#9657E4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.206 H 300.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9657E4
RGBrgb(150, 87, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 62%, 89%)
CMYKcmyk(34.2%, 61.8%, 0%, 10.6%)
CIE-LABlab(50.57, 53.43, -62.20)
CIE-LCHlch(50.57, 82.00, 310.66°)
OKLaboklab(59.69% 0.1057 -0.1766)
OKLCHoklch(59.69% 0.206 300.9)
XYZxyz(29.9861, 18.9017, 75.4524)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657E4 #A5E457
analogous
#575EE4 #9657E4 #DD57E4
triadic
#9657E4 #E49657 #57E496
tetradic
#9657E4 #E4575E #A5E457 #57E4DD
square
#9657E4 #E4575E #A5E457 #57E4DD
split-complementary
#9657E4 #E4DD57 #5EE457
monochromatic
#591BA6 #7523DB #9657E4 #B78CEC #D8C0F5

Accessibility & contrast

On white

4.39
#9657E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9657E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657E4#FFFFFF#000000##000000
##9657E41.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)
#0078E8
Deuteranopia (green-blind)
#2378E1
Tritanopia (blue-blind)
#867596
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9657e4;
/* rgb */ color: rgb(150, 87, 228);
/* oklch */ color: oklch(59.7% 0.206 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba89ed',
    500: '#9657e4',
    950: '#000000',
  },
}
SCSS
$custom: #9657e4;
$custom-light: #ba89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9657e4",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 266.809,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.20585,
    "h": 300.9
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#9657E4
secondary
#CEE6B1
accent
#D4117D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9657E4

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

Preview Lab → · Contrast checker → · Palette generator →

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