#9A4BD7#9A4BD7

#9A4BD7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.209 H 306.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9A4BD7
RGBrgb(154, 75, 215)
HSLhsl(274, 64%, 57%)
HSVhsv(274, 65%, 84%)
CMYKcmyk(28.4%, 65.1%, 0%, 15.7%)
CIE-LABlab(48.02, 57.17, -58.92)
CIE-LCHlch(48.02, 82.10, 314.14°)
OKLaboklab(57.68% 0.1254 -0.1668)
OKLCHoklch(57.68% 0.209 306.9)
XYZxyz(28.1057, 16.8088, 66.0406)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BD7 #88D74B
analogous
#544BD7 #9A4BD7 #D74BCE
triadic
#9A4BD7 #D79A4B #4BD79A
tetradic
#9A4BD7 #D7544B #88D74B #4BCED7
square
#9A4BD7 #D7544B #88D74B #4BCED7
split-complementary
#9A4BD7 #CED74B #4BD754
monochromatic
#5B1E89 #7C2ABB #9A4BD7 #B67DE2 #D2AFED

Accessibility & contrast

On white

4.81
#9A4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9A4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BD7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BD7#FFFFFF#000000##FFFFFF
##9A4BD71.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#90698B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4bd7;
/* rgb */ color: rgb(154, 75, 215);
/* oklch */ color: oklch(57.7% 0.209 306.9);
Tailwind
colors: {
  custom: {
    50: '#bc82e4',
    500: '#9a4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bd7;
$custom-light: #bc82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bd7",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 273.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.20867,
    "h": 306.9
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#9A4BD7
secondary
#BBDBA2
accent
#E74189
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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