#9652BF#9652BF

#9652BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.172 H 310.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9652BF
RGBrgb(150, 82, 191)
HSLhsl(277, 46%, 54%)
HSVhsv(277, 57%, 75%)
CMYKcmyk(21.5%, 57.1%, 0%, 25.1%)
CIE-LABlab(47.34, 47.33, -46.22)
CIE-LCHlch(47.34, 66.15, 315.68°)
OKLaboklab(56.61% 0.1123 -0.1297)
OKLCHoklch(56.61% 0.172 310.9)
XYZxyz(24.9972, 16.2807, 51.1058)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652BF #7BBF52
analogous
#5F52BF #9652BF #BF52B2
triadic
#9652BF #BF9652 #52BF96
tetradic
#9652BF #BF5F52 #7BBF52 #52B2BF
square
#9652BF #BF5F52 #7BBF52 #52B2BF
split-complementary
#9652BF #B2BF52 #52BF5F
monochromatic
#54296E #76399B #9652BF #B17FD0 #CCABE0

Accessibility & contrast

On white

4.93
#9652BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9652BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9652BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652BF#FFFFFF#000000##FFFFFF
##9652BF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#916681
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9652bf;
/* rgb */ color: rgb(150, 82, 191);
/* oklch */ color: oklch(56.6% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#b886d3',
    500: '#9652bf',
    950: '#000000',
  },
}
SCSS
$custom: #9652bf;
$custom-light: #b886d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9652bf",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 277.431,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.17162,
    "h": 310.9
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#9652BF
secondary
#B1CE9F
accent
#D65284
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9652BF

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

Preview Lab → · Contrast checker → · Palette generator →

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