#9658DB#9658DB

#9658DB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.194 H 302.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9658DB
RGBrgb(150, 88, 219)
HSLhsl(268, 65%, 60%)
HSVhsv(268, 60%, 86%)
CMYKcmyk(31.5%, 59.8%, 0%, 14.1%)
CIE-LABlab(50.19, 50.73, -57.73)
CIE-LCHlch(50.19, 76.85, 311.31°)
OKLaboklab(59.23% 0.1049 -0.1635)
OKLCHoklch(59.23% 0.194 302.7)
XYZxyz(28.8506, 18.5779, 69.0701)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658DB #9DDB58
analogous
#585BDB #9658DB #D858DB
triadic
#9658DB #DB9658 #58DB96
tetradic
#9658DB #DB585B #9DDB58 #58DBD8
square
#9658DB #DB585B #9DDB58 #58DBD8
split-complementary
#9658DB #DBD858 #5BDB58
monochromatic
#592198 #772CCA #9658DB #B68AE6 #D5BDF1

Accessibility & contrast

On white

4.45
#9658DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9658DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658DB#FFFFFF#000000##000000
##9658DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#897391
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9658db;
/* rgb */ color: rgb(150, 88, 219);
/* oklch */ color: oklch(59.2% 0.194 302.7);
Tailwind
colors: {
  custom: {
    50: '#b98ae7',
    500: '#9658db',
    950: '#000000',
  },
}
SCSS
$custom: #9658db;
$custom-light: #b98ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9658db",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 268.397,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.19426,
    "h": 302.7
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#9658DB
secondary
#C9E1AE
accent
#CC1978
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658DB

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

Preview Lab → · Contrast checker → · Palette generator →

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