#9654DB#9654DB

#9654DB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.7% C 0.200 H 303.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9654DB
RGBrgb(150, 84, 219)
HSLhsl(269, 65%, 59%)
HSVhsv(269, 62%, 86%)
CMYKcmyk(31.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(49.42, 52.79, -58.96)
CIE-LCHlch(49.42, 79.14, 311.84°)
OKLaboklab(58.67% 0.1096 -0.1671)
OKLCHoklch(58.67% 0.2 303.3)
XYZxyz(28.5313, 17.9392, 68.9636)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654DB #99DB54
analogous
#5456DB #9654DB #D954DB
triadic
#9654DB #DB9654 #54DB96
tetradic
#9654DB #DB5456 #99DB54 #54DBD9
square
#9654DB #DB5456 #99DB54 #54DBD9
split-complementary
#9654DB #DBD954 #56DB54
monochromatic
#591F95 #772AC8 #9654DB #B587E6 #D4B9F0

Accessibility & contrast

On white

4.58
#9654DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9654DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9654DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654DB#FFFFFF#000000##000000
##9654DB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#897090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9654db;
/* rgb */ color: rgb(150, 84, 219);
/* oklch */ color: oklch(58.7% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#b987e7',
    500: '#9654db',
    950: '#000000',
  },
}
SCSS
$custom: #9654db;
$custom-light: #b987e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9654db",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 269.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.19985,
    "h": 303.3
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#9654DB
secondary
#C6E0AB
accent
#E84096
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9654DB

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

Preview Lab → · Contrast checker → · Palette generator →

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