#9654BF#9654BF

#9654BF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.169 H 310.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9654BF
RGBrgb(150, 84, 191)
HSLhsl(277, 46%, 54%)
HSVhsv(277, 56%, 75%)
CMYKcmyk(21.5%, 56%, 0%, 25.1%)
CIE-LABlab(47.74, 46.28, -45.59)
CIE-LCHlch(47.74, 64.97, 315.43°)
OKLaboklab(56.9% 0.1097 -0.1279)
OKLCHoklch(56.9% 0.169 310.6)
XYZxyz(25.1502, 16.5868, 51.1568)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654BF #7DBF54
analogous
#6154BF #9654BF #BF54B3
triadic
#9654BF #BF9654 #54BF96
tetradic
#9654BF #BF6154 #7DBF54 #54B3BF
square
#9654BF #BF6154 #7DBF54 #54B3BF
split-complementary
#9654BF #B3BF54 #54BF61
monochromatic
#542A6F #763A9C #9654BF #B181D0 #CDADE0

Accessibility & contrast

On white

4.86
#9654BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9654BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654BF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654BF#FFFFFF#000000##FFFFFF
##9654BF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#916781
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9654bf;
/* rgb */ color: rgb(150, 84, 191);
/* oklch */ color: oklch(56.9% 0.169 310.6);
Tailwind
colors: {
  custom: {
    50: '#b887d3',
    500: '#9654bf',
    950: '#000000',
  },
}
SCSS
$custom: #9654bf;
$custom-light: #b887d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9654bf",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 277.009,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.569,
    "c": 0.16852,
    "h": 310.6
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#9654BF
secondary
#B2CEA1
accent
#D55385
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9654BF

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

Preview Lab → · Contrast checker → · Palette generator →

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