#9658D2#9658D2

#9658D2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.184 H 304.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9658D2
RGBrgb(150, 88, 210)
HSLhsl(270, 58%, 58%)
HSVhsv(270, 58%, 82%)
CMYKcmyk(28.6%, 58.1%, 0%, 17.6%)
CIE-LABlab(49.64, 48.57, -53.49)
CIE-LCHlch(49.64, 72.25, 312.24°)
OKLaboklab(58.65% 0.105 -0.151)
OKLCHoklch(58.65% 0.184 304.8)
XYZxyz(27.6977, 18.1168, 62.9980)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658D2 #94D258
analogous
#5958D2 #9658D2 #D258D1
triadic
#9658D2 #D29658 #58D296
tetradic
#9658D2 #D25958 #94D258 #58D1D2
square
#9658D2 #D25958 #94D258 #58D1D2
split-complementary
#9658D2 #D1D258 #58D259
monochromatic
#59258A #7832BB #9658D2 #B488DF #D3B8EC

Accessibility & contrast

On white

4.54
#9658D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9658D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658D2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658D2#FFFFFF#000000##000000
##9658D21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#8B708D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9658d2;
/* rgb */ color: rgb(150, 88, 210);
/* oklch */ color: oklch(58.7% 0.184 304.8);
Tailwind
colors: {
  custom: {
    50: '#b88ae0',
    500: '#9658d2',
    950: '#000000',
  },
}
SCSS
$custom: #9658d2;
$custom-light: #b88ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9658d2",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 270.492,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.18398,
    "h": 304.8
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#9658D2
secondary
#C3DBAB
accent
#E14793
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9658D2

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

Preview Lab → · Contrast checker → · Palette generator →

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