#9658BF#9658BF

#9658BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.162 H 310.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9658BF
RGBrgb(150, 88, 191)
HSLhsl(276, 45%, 55%)
HSVhsv(276, 54%, 75%)
CMYKcmyk(21.5%, 53.9%, 0%, 25.1%)
CIE-LABlab(48.54, 44.15, -44.31)
CIE-LCHlch(48.54, 62.55, 314.90°)
OKLaboklab(57.49% 0.1044 -0.1242)
OKLCHoklch(57.49% 0.162 310)
XYZxyz(25.4696, 17.2255, 51.2632)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658BF #81BF58
analogous
#6358BF #9658BF #BF58B4
triadic
#9658BF #BF9658 #58BF96
tetradic
#9658BF #BF6358 #81BF58 #58B4BF
square
#9658BF #BF6358 #81BF58 #58B4BF
split-complementary
#9658BF #B4BF58 #58BF63
monochromatic
#552B71 #773C9D #9658BF #B284D0 #CEB0E1

Accessibility & contrast

On white

4.72
#9658BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9658BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9658BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658BF#FFFFFF#000000##FFFFFF
##9658BF1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#916A83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9658bf;
/* rgb */ color: rgb(150, 88, 191);
/* oklch */ color: oklch(57.5% 0.162 310.0);
Tailwind
colors: {
  custom: {
    50: '#b789d3',
    500: '#9658bf',
    950: '#000000',
  },
}
SCSS
$custom: #9658bf;
$custom-light: #b789d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9658bf",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 276.117,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.16222,
    "h": 310
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#9658BF
secondary
#B5CFA4
accent
#D45487
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9658BF

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

Preview Lab → · Contrast checker → · Palette generator →

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