#9A4FDB#9A4FDB

#9A4FDB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.208 H 305.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9A4FDB
RGBrgb(154, 79, 219)
HSLhsl(272, 66%, 58%)
HSVhsv(272, 64%, 86%)
CMYKcmyk(29.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(48.98, 56.16, -59.65)
CIE-LCHlch(48.98, 81.93, 313.27°)
OKLaboklab(58.46% 0.1206 -0.169)
OKLCHoklch(58.46% 0.208 305.5)
XYZxyz(28.9058, 17.5767, 68.8739)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FDB #90DB4F
analogous
#544FDB #9A4FDB #DB4FD6
triadic
#9A4FDB #DB9A4F #4FDB9A
tetradic
#9A4FDB #DB544F #90DB4F #4FD6DB
square
#9A4FDB #DB544F #90DB4F #4FD6DB
split-complementary
#9A4FDB #D6DB4F #4FDB54
monochromatic
#5C1E92 #7C28C5 #9A4FDB #B782E5 #D4B5F0

Accessibility & contrast

On white

4.65
#9A4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9A4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FDB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FDB#FFFFFF#000000##FFFFFF
##9A4FDB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#8F6D8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4fdb;
/* rgb */ color: rgb(154, 79, 219);
/* oklch */ color: oklch(58.5% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc85e7',
    500: '#9a4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fdb;
$custom-light: #bc85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fdb",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 272.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.20758,
    "h": 305.5
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#9A4FDB
secondary
#C1DFA7
accent
#E93F8E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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