#9658E9#9658E9

#9658E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.210 H 299.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9658E9
RGBrgb(150, 88, 233)
HSLhsl(266, 77%, 63%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(35.6%, 62.2%, 0%, 8.6%)
CIE-LABlab(51.09, 54.15, -64.19)
CIE-LCHlch(51.09, 83.97, 310.15°)
OKLaboklab(60.17% 0.1043 -0.1825)
OKLCHoklch(60.17% 0.21 299.7)
XYZxyz(30.7718, 19.3464, 79.1880)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658E9 #ABE958
analogous
#5862E9 #9658E9 #DE58E9
triadic
#9658E9 #E99658 #58E996
tetradic
#9658E9 #E95862 #ABE958 #58E9DE
square
#9658E9 #E95862 #ABE958 #58E9DE
split-complementary
#9658E9 #E9DE58 #62E958
monochromatic
#5817AF #7422E2 #9658E9 #B88EF0 #DAC4F7

Accessibility & contrast

On white

4.31
#9658E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9658E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658E9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658E9#FFFFFF#000000##000000
##9658E91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#1A79E6
Tritanopia (blue-blind)
#847899
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9658e9;
/* rgb */ color: rgb(150, 88, 233);
/* oklch */ color: oklch(60.2% 0.210 299.7);
Tailwind
colors: {
  custom: {
    50: '#ba8af1',
    500: '#9658e9',
    950: '#000000',
  },
}
SCSS
$custom: #9658e9;
$custom-light: #ba8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9658e9",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 265.655,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.21015,
    "h": 299.7
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#9658E9
secondary
#D2E8B4
accent
#D90D82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9658E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9658E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva