#9658CB#9658CB

#9658CB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.176 H 306.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9658CB
RGBrgb(150, 88, 203)
HSLhsl(272, 53%, 57%)
HSVhsv(272, 57%, 80%)
CMYKcmyk(26.1%, 56.7%, 0%, 20.4%)
CIE-LABlab(49.22, 46.92, -50.14)
CIE-LCHlch(49.22, 68.67, 313.10°)
OKLaboklab(58.21% 0.1049 -0.1412)
OKLCHoklch(58.21% 0.176 306.6)
XYZxyz(26.8446, 17.7755, 58.5052)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658CB #8DCB58
analogous
#5D58CB #9658CB #CB58C6
triadic
#9658CB #CB9658 #58CB96
tetradic
#9658CB #CB5D58 #8DCB58 #58C6CB
square
#9658CB #CB5D58 #8DCB58 #58C6CB
split-complementary
#9658CB #C6CB58 #58CB5D
monochromatic
#582881 #7837AF #9658CB #B387DA #D1B5E8

Accessibility & contrast

On white

4.61
#9658CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9658CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658CB#FFFFFF#000000##FFFFFF
##9658CB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#8E6E89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9658cb;
/* rgb */ color: rgb(150, 88, 203);
/* oklch */ color: oklch(58.2% 0.176 306.6);
Tailwind
colors: {
  custom: {
    50: '#b88adb',
    500: '#9658cb',
    950: '#000000',
  },
}
SCSS
$custom: #9658cb;
$custom-light: #b88adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9658cb",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 272.348,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.17595,
    "h": 306.6
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9658CB

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

Preview Lab → · Contrast checker → · Palette generator →

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