#9A4BCD#9A4BCD

#9A4BCD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.198 H 309.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9A4BCD
RGBrgb(154, 75, 205)
HSLhsl(276, 57%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(24.9%, 63.4%, 0%, 19.6%)
CIE-LABlab(47.38, 54.93, -54.22)
CIE-LCHlch(47.38, 77.18, 315.37°)
OKLaboklab(57.02% 0.126 -0.153)
OKLCHoklch(57.02% 0.198 309.5)
XYZxyz(26.8598, 16.3104, 59.4790)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BCD #7ECD4B
analogous
#594BCD #9A4BCD #CD4BBF
triadic
#9A4BCD #CD9A4B #4BCD9A
tetradic
#9A4BCD #CD594B #7ECD4B #4BBFCD
square
#9A4BCD #CD594B #7ECD4B #4BBFCD
split-complementary
#9A4BCD #BFCD4B #4BCD59
monochromatic
#58227B #7B30AB #9A4BCD #B57BDA #D0ABE8

Accessibility & contrast

On white

4.93
#9A4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9A4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BCD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BCD#FFFFFF#000000##FFFFFF
##9A4BCD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#936585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4bcd;
/* rgb */ color: rgb(154, 75, 205);
/* oklch */ color: oklch(57.0% 0.198 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb82dd',
    500: '#9a4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bcd;
$custom-light: #bb82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bcd",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 276.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.19822,
    "h": 309.5
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#9A4BCD
secondary
#B4D59F
accent
#E04884
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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