#9658DC#9658DC

#9658DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.195 H 302.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9658DC
RGBrgb(150, 88, 220)
HSLhsl(268, 65%, 60%)
HSVhsv(268, 60%, 86%)
CMYKcmyk(31.8%, 60%, 0%, 13.7%)
CIE-LABlab(50.25, 50.97, -58.19)
CIE-LCHlch(50.25, 77.36, 311.21°)
OKLaboklab(59.3% 0.1049 -0.1649)
OKLCHoklch(59.3% 0.195 302.5)
XYZxyz(28.9827, 18.6308, 69.7655)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658DC #9EDC58
analogous
#585CDC #9658DC #D858DC
triadic
#9658DC #DC9658 #58DC96
tetradic
#9658DC #DC585C #9EDC58 #58DCD8
square
#9658DC #DC585C #9EDC58 #58DCD8
split-complementary
#9658DC #DCD858 #5CDC58
monochromatic
#592099 #772BCC #9658DC #B68BE7 #D6BDF1

Accessibility & contrast

On white

4.44
#9658DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9658DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658DC#FFFFFF#000000##000000
##9658DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0876E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#887392
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9658dc;
/* rgb */ color: rgb(150, 88, 220);
/* oklch */ color: oklch(59.3% 0.195 302.5);
Tailwind
colors: {
  custom: {
    50: '#b98ae8',
    500: '#9658dc',
    950: '#000000',
  },
}
SCSS
$custom: #9658dc;
$custom-light: #b98ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9658dc",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 268.182,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.1954,
    "h": 302.5
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#9658DC
secondary
#C9E1AF
accent
#CD1878
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658DC

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

Preview Lab → · Contrast checker → · Palette generator →

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