#9658EB#9658EB

#9658EB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.212 H 299.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9658EB
RGBrgb(150, 88, 235)
HSLhsl(265, 79%, 63%)
HSVhsv(265, 63%, 92%)
CMYKcmyk(36.2%, 62.6%, 0%, 7.8%)
CIE-LABlab(51.22, 54.64, -65.10)
CIE-LCHlch(51.22, 84.99, 310.01°)
OKLaboklab(60.31% 0.1041 -0.1851)
OKLCHoklch(60.31% 0.212 299.4)
XYZxyz(31.0591, 19.4613, 80.7012)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658EB #ADEB58
analogous
#5863EB #9658EB #DF58EB
triadic
#9658EB #EB9658 #58EB96
tetradic
#9658EB #EB5863 #ADEB58 #58EBDF
square
#9658EB #EB5863 #ADEB58 #58EBDF
split-complementary
#9658EB #EBDF58 #63EB58
monochromatic
#5815B3 #7421E4 #9658EB #B88FF2 #DBC5F8

Accessibility & contrast

On white

4.29
#9658EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9658EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658EB#FFFFFF#000000##000000
##9658EB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1379E8
Tritanopia (blue-blind)
#83799A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9658eb;
/* rgb */ color: rgb(150, 88, 235);
/* oklch */ color: oklch(60.3% 0.212 299.4);
Tailwind
colors: {
  custom: {
    50: '#ba8af2',
    500: '#9658eb',
    950: '#000000',
  },
}
SCSS
$custom: #9658eb;
$custom-light: #ba8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9658eb",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 265.306,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.2124,
    "h": 299.4
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#9658EB
secondary
#D3EAB5
accent
#DB0B83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9658EB

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

Preview Lab → · Contrast checker → · Palette generator →

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