#9654BE#9654BE

#9654BE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.167 H 310.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9654BE
RGBrgb(150, 84, 190)
HSLhsl(277, 45%, 54%)
HSVhsv(277, 56%, 75%)
CMYKcmyk(21.1%, 55.8%, 0%, 25.5%)
CIE-LABlab(47.68, 46.05, -45.10)
CIE-LCHlch(47.68, 64.46, 315.60°)
OKLaboklab(56.84% 0.1097 -0.1265)
OKLCHoklch(56.84% 0.167 310.9)
XYZxyz(25.0406, 16.5429, 50.5792)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654BE #7CBE54
analogous
#6154BE #9654BE #BE54B1
triadic
#9654BE #BE9654 #54BE96
tetradic
#9654BE #BE6154 #7CBE54 #54B1BE
square
#9654BE #BE6154 #7CBE54 #54B1BE
split-complementary
#9654BE #B1BE54 #54BE61
monochromatic
#542A6E #763B9A #9654BE #B180CF #CCADE0

Accessibility & contrast

On white

4.87
#9654BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9654BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654BE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654BE#FFFFFF#000000##FFFFFF
##9654BE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#916781
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9654be;
/* rgb */ color: rgb(150, 84, 190);
/* oklch */ color: oklch(56.8% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#b787d2',
    500: '#9654be',
    950: '#000000',
  },
}
SCSS
$custom: #9654be;
$custom-light: #b787d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9654be",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 277.358,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.1674,
    "h": 310.9
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#9654BE
secondary
#B1CEA0
accent
#D55384
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9654BE

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

Preview Lab → · Contrast checker → · Palette generator →

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