#9658D5#9658D5

#9658D5 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.187 H 304.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9658D5
RGBrgb(150, 88, 213)
HSLhsl(270, 60%, 59%)
HSVhsv(270, 59%, 84%)
CMYKcmyk(29.6%, 58.7%, 0%, 16.5%)
CIE-LABlab(49.82, 49.29, -54.91)
CIE-LCHlch(49.82, 73.78, 311.91°)
OKLaboklab(58.84% 0.105 -0.1552)
OKLCHoklch(58.84% 0.187 304.1)
XYZxyz(28.0750, 18.2677, 64.9849)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658D5 #97D558
analogous
#5859D5 #9658D5 #D558D5
triadic
#9658D5 #D59658 #58D596
tetradic
#9658D5 #D55859 #97D558 #58D5D5
square
#9658D5 #D55859 #97D558 #58D5D5
split-complementary
#9658D5 #D5D558 #59D558
monochromatic
#59248F #7730C0 #9658D5 #B589E1 #D3BAEE

Accessibility & contrast

On white

4.51
#9658D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9658D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658D5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658D5#FFFFFF#000000##000000
##9658D51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#8B718E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9658d5;
/* rgb */ color: rgb(150, 88, 213);
/* oklch */ color: oklch(58.8% 0.187 304.1);
Tailwind
colors: {
  custom: {
    50: '#b98ae3',
    500: '#9658d5',
    950: '#000000',
  },
}
SCSS
$custom: #9658d5;
$custom-light: #b98ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9658d5",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 269.76,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.1874,
    "h": 304.1
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#9658D5
secondary
#C5DDAC
accent
#E34595
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9658D5

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

Preview Lab → · Contrast checker → · Palette generator →

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