#9A4BDB#9A4BDB

#9A4BDB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.213 H 306.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9A4BDB
RGBrgb(154, 75, 219)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 66%, 86%)
CMYKcmyk(29.7%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.28, 58.08, -60.78)
CIE-LCHlch(48.28, 84.06, 313.70°)
OKLaboklab(57.95% 0.125 -0.1723)
OKLCHoklch(57.95% 0.213 306)
XYZxyz(28.6259, 17.0169, 68.7806)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BDB #8CDB4B
analogous
#524BDB #9A4BDB #DB4BD4
triadic
#9A4BDB #DB9A4B #4BDB9A
tetradic
#9A4BDB #DB524B #8CDB4B #4BD4DB
square
#9A4BDB #DB524B #8CDB4B #4BD4DB
split-complementary
#9A4BDB #D4DB4B #4BDB52
monochromatic
#5B1D8F #7C27C2 #9A4BDB #B77EE5 #D3B1EF

Accessibility & contrast

On white

4.77
#9A4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9A4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BDB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BDB#FFFFFF#000000##FFFFFF
##9A4BDB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#8F6A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a4bdb;
/* rgb */ color: rgb(154, 75, 219);
/* oklch */ color: oklch(58.0% 0.213 306.0);
Tailwind
colors: {
  custom: {
    50: '#bc82e7',
    500: '#9a4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bdb;
$custom-light: #bc82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bdb",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 272.917,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.21285,
    "h": 306
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#9A4BDB
secondary
#BEDEA4
accent
#EA3E8C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

#9A4BDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva