#9658BC#9658BC

#9658BC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.159 H 311.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9658BC
RGBrgb(150, 88, 188)
HSLhsl(277, 43%, 54%)
HSVhsv(277, 53%, 74%)
CMYKcmyk(20.2%, 53.2%, 0%, 26.3%)
CIE-LABlab(48.38, 43.47, -42.83)
CIE-LCHlch(48.38, 61.03, 315.43°)
OKLaboklab(57.32% 0.1041 -0.1199)
OKLCHoklch(57.32% 0.159 311)
XYZxyz(25.1428, 17.0948, 49.5423)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658BC #7EBC58
analogous
#6458BC #9658BC #BC58B0
triadic
#9658BC #BC9658 #58BC96
tetradic
#9658BC #BC6458 #7EBC58 #58B0BC
square
#9658BC #BC6458 #7EBC58 #58B0BC
split-complementary
#9658BC #B0BC58 #58BC64
monochromatic
#552C6E #763E99 #9658BC #B184CE #CDAFDF

Accessibility & contrast

On white

4.75
#9658BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9658BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9658BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658BC#FFFFFF#000000##FFFFFF
##9658BC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#926982
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9658bc;
/* rgb */ color: rgb(150, 88, 188);
/* oklch */ color: oklch(57.3% 0.159 311.0);
Tailwind
colors: {
  custom: {
    50: '#b789d0',
    500: '#9658bc',
    950: '#000000',
  },
}
SCSS
$custom: #9658bc;
$custom-light: #b789d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9658bc",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 277.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.15879,
    "h": 311
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#9658BC
secondary
#B3CDA3
accent
#D35585
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9658BC

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

Preview Lab → · Contrast checker → · Palette generator →

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