#9658E4#9658E4

#9658E4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.204 H 300.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9658E4
RGBrgb(150, 88, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 61%, 89%)
CMYKcmyk(34.2%, 61.4%, 0%, 10.6%)
CIE-LABlab(50.76, 52.92, -61.90)
CIE-LCHlch(50.76, 81.43, 310.53°)
OKLaboklab(59.83% 0.1046 -0.1757)
OKLCHoklch(59.83% 0.204 300.8)
XYZxyz(30.0676, 19.0647, 75.4795)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658E4 #A6E458
analogous
#5860E4 #9658E4 #DC58E4
triadic
#9658E4 #E49658 #58E496
tetradic
#9658E4 #E45860 #A6E458 #58E4DC
square
#9658E4 #E45860 #A6E458 #58E4DC
split-complementary
#9658E4 #E4DC58 #60E458
monochromatic
#591BA7 #7523DB #9658E4 #B78DED #D8C1F5

Accessibility & contrast

On white

4.36
#9658E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9658E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658E4#FFFFFF#000000##000000
##9658E41.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)
#0078E8
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#867696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9658e4;
/* rgb */ color: rgb(150, 88, 228);
/* oklch */ color: oklch(59.8% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#ba8aed',
    500: '#9658e4',
    950: '#000000',
  },
}
SCSS
$custom: #9658e4;
$custom-light: #ba8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9658e4",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 266.571,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.20449,
    "h": 300.8
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#9658E4
secondary
#CFE6B2
accent
#D4117E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658E4

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

Preview Lab → · Contrast checker → · Palette generator →

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