#9658CC#9658CC

#9658CC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.177 H 306.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9658CC
RGBrgb(150, 88, 204)
HSLhsl(272, 53%, 57%)
HSVhsv(272, 57%, 80%)
CMYKcmyk(26.5%, 56.9%, 0%, 20%)
CIE-LABlab(49.28, 47.15, -50.62)
CIE-LCHlch(49.28, 69.18, 312.97°)
OKLaboklab(58.28% 0.105 -0.1426)
OKLCHoklch(58.28% 0.177 306.3)
XYZxyz(26.9642, 17.8234, 59.1348)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658CC #8ECC58
analogous
#5C58CC #9658CC #CC58C8
triadic
#9658CC #CC9658 #58CC96
tetradic
#9658CC #CC5C58 #8ECC58 #58C8CC
square
#9658CC #CC5C58 #8ECC58 #58C8CC
split-complementary
#9658CC #C8CC58 #58CC5C
monochromatic
#582882 #7836B1 #9658CC #B387DA #D1B6E9

Accessibility & contrast

On white

4.60
#9658CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9658CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9658CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658CC#FFFFFF#000000##FFFFFF
##9658CC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#4476C9
Tritanopia (blue-blind)
#8D6E8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9658cc;
/* rgb */ color: rgb(150, 88, 204);
/* oklch */ color: oklch(58.3% 0.177 306.3);
Tailwind
colors: {
  custom: {
    50: '#b88adc',
    500: '#9658cc',
    950: '#000000',
  },
}
SCSS
$custom: #9658cc;
$custom-light: #b88adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9658cc",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 272.069,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.1771,
    "h": 306.3
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#9658CC
secondary
#BED7A8
accent
#DD4B8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9658CC

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

Preview Lab → · Contrast checker → · Palette generator →

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