#9A4EEB#9A4EEB

#9A4EEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.226 H 302.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9A4EEB
RGBrgb(154, 78, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 67%, 92%)
CMYKcmyk(34.5%, 66.8%, 0%, 7.8%)
CIE-LABlab(49.88, 60.37, -67.25)
CIE-LCHlch(49.88, 90.37, 311.92°)
OKLaboklab(59.44% 0.1201 -0.1913)
OKLCHoklch(59.44% 0.226 302.1)
XYZxyz(31.0427, 18.3169, 80.4812)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EEB #9FEB4E
analogous
#4E51EB #9A4EEB #E94EEB
triadic
#9A4EEB #EB9A4E #4EEB9A
tetradic
#9A4EEB #EB4E51 #9FEB4E #4EEBE9
square
#9A4EEB #EB4E51 #9FEB4E #4EEBE9
split-complementary
#9A4EEB #EBE94E #51EB4E
monochromatic
#5D13AB #7B1AE2 #9A4EEB #B985F1 #D9BCF7

Accessibility & contrast

On white

4.50
#9A4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9A4EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4EEB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EEB#FFFFFF#000000##000000
##9A4EEB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#897296
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a4eeb;
/* rgb */ color: rgb(154, 78, 235);
/* oklch */ color: oklch(59.4% 0.226 302.1);
Tailwind
colors: {
  custom: {
    50: '#bd85f2',
    500: '#9a4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4eeb;
$custom-light: #bd85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4eeb",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 269.045,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.22588,
    "h": 302.1
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#9A4EEB
secondary
#CBE8AD
accent
#DC0976
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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