#9A4EED#9A4EED

#9A4EED is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.228 H 301.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9A4EED
RGBrgb(154, 78, 237)
HSLhsl(269, 82%, 62%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(35%, 67.1%, 0%, 7.1%)
CIE-LABlab(50.02, 60.85, -68.15)
CIE-LCHlch(50.02, 91.36, 311.76°)
OKLaboklab(59.59% 0.1198 -0.1939)
OKLCHoklch(59.59% 0.228 301.7)
XYZxyz(31.3332, 18.4331, 82.0115)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EED #A1ED4E
analogous
#4E52ED #9A4EED #E94EED
triadic
#9A4EED #ED9A4E #4EED9A
tetradic
#9A4EED #ED4E52 #A1ED4E #4EEDE9
square
#9A4EED #ED4E52 #A1ED4E #4EEDE9
split-complementary
#9A4EED #EDE94E #52ED4E
monochromatic
#5D12AF #7A17E6 #9A4EED #BA86F3 #D9BDF8

Accessibility & contrast

On white

4.48
#9A4EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9A4EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4EED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EED#FFFFFF#000000##000000
##9A4EED1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#897397
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a4eed;
/* rgb */ color: rgb(154, 78, 237);
/* oklch */ color: oklch(59.6% 0.228 301.7);
Tailwind
colors: {
  custom: {
    50: '#bd85f4',
    500: '#9a4eed',
    950: '#000000',
  },
}
SCSS
$custom: #9a4eed;
$custom-light: #bd85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4eed",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 268.679,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.22799,
    "h": 301.7
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#9A4EED
secondary
#CDE9AE
accent
#DE0877
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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