#9651BF#9651BF

#9651BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.173 H 311.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9651BF
RGBrgb(150, 81, 191)
HSLhsl(278, 46%, 53%)
HSVhsv(278, 58%, 75%)
CMYKcmyk(21.5%, 57.6%, 0%, 25.1%)
CIE-LABlab(47.15, 47.85, -46.53)
CIE-LCHlch(47.15, 66.74, 315.80°)
OKLaboklab(56.47% 0.1136 -0.1306)
OKLCHoklch(56.47% 0.173 311)
XYZxyz(24.9223, 16.1310, 51.0808)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651BF #7ABF51
analogous
#5F51BF #9651BF #BF51B1
triadic
#9651BF #BF9651 #51BF96
tetradic
#9651BF #BF5F51 #7ABF51 #51B1BF
square
#9651BF #BF5F51 #7ABF51 #51B1BF
split-complementary
#9651BF #B1BF51 #51BF5F
monochromatic
#54286D #76399A #9651BF #B17ECF #CCAAE0

Accessibility & contrast

On white

4.97
#9651BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9651BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651BF#FFFFFF#000000##FFFFFF
##9651BF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#916580
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9651bf;
/* rgb */ color: rgb(150, 81, 191);
/* oklch */ color: oklch(56.5% 0.173 311.0);
Tailwind
colors: {
  custom: {
    50: '#b885d3',
    500: '#9651bf',
    950: '#000000',
  },
}
SCSS
$custom: #9651bf;
$custom-light: #b885d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9651bf",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 277.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.17315,
    "h": 311
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#9651BF
secondary
#B0CE9E
accent
#D65283
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9651BF

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

Preview Lab → · Contrast checker → · Palette generator →

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