#9658C7#9658C7

#9658C7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.171 H 307.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9658C7
RGBrgb(150, 88, 199)
HSLhsl(274, 50%, 56%)
HSVhsv(274, 56%, 78%)
CMYKcmyk(24.6%, 55.8%, 0%, 22%)
CIE-LABlab(48.99, 45.99, -48.21)
CIE-LCHlch(48.99, 66.63, 313.65°)
OKLaboklab(57.97% 0.1048 -0.1356)
OKLCHoklch(57.97% 0.171 307.7)
XYZxyz(26.3741, 17.5873, 56.0270)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658C7 #89C758
analogous
#5F58C7 #9658C7 #C758C1
triadic
#9658C7 #C79658 #58C796
tetradic
#9658C7 #C75F58 #89C758 #58C1C7
square
#9658C7 #C75F58 #89C758 #58C1C7
split-complementary
#9658C7 #C1C758 #58C75F
monochromatic
#57297B #7739A9 #9658C7 #B386D6 #D0B4E6

Accessibility & contrast

On white

4.65
#9658C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9658C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9658C7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658C7#FFFFFF#000000##FFFFFF
##9658C71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#8F6C87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9658c7;
/* rgb */ color: rgb(150, 88, 199);
/* oklch */ color: oklch(58.0% 0.171 307.7);
Tailwind
colors: {
  custom: {
    50: '#b889d8',
    500: '#9658c7',
    950: '#000000',
  },
}
SCSS
$custom: #9658c7;
$custom-light: #b889d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9658c7",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 273.514,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.17137,
    "h": 307.7
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#9658C7
secondary
#BBD4A7
accent
#D94F8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9658C7

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

Preview Lab → · Contrast checker → · Palette generator →

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