#9658D8#9658D8

#9658D8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.191 H 303.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9658D8
RGBrgb(150, 88, 216)
HSLhsl(269, 62%, 60%)
HSVhsv(269, 59%, 85%)
CMYKcmyk(30.6%, 59.3%, 0%, 15.3%)
CIE-LABlab(50.00, 50.01, -56.32)
CIE-LCHlch(50.00, 75.32, 311.60°)
OKLaboklab(59.04% 0.105 -0.1594)
OKLCHoklch(59.04% 0.191 303.4)
XYZxyz(28.4593, 18.4214, 67.0088)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658D8 #9AD858
analogous
#585AD8 #9658D8 #D658D8
triadic
#9658D8 #D89658 #58D896
tetradic
#9658D8 #D8585A #9AD858 #58D8D6
square
#9658D8 #D8585A #9AD858 #58D8D6
split-complementary
#9658D8 #D8D658 #5AD858
monochromatic
#592293 #772EC5 #9658D8 #B58AE4 #D4BBEF

Accessibility & contrast

On white

4.48
#9658D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9658D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658D8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658D8#FFFFFF#000000##000000
##9658D81.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1776DC
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#8A7290
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9658d8;
/* rgb */ color: rgb(150, 88, 216);
/* oklch */ color: oklch(59.0% 0.191 303.4);
Tailwind
colors: {
  custom: {
    50: '#b98ae5',
    500: '#9658d8',
    950: '#000000',
  },
}
SCSS
$custom: #9658d8;
$custom-light: #b98ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#9658d8",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 269.063,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.19083,
    "h": 303.4
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#9658D8
secondary
#C7DFAD
accent
#E54396
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658D8

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

Preview Lab → · Contrast checker → · Palette generator →

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