#9A4AEB#9A4AEB

#9A4AEB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.231 H 302.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A4AEB
RGBrgb(154, 74, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 69%, 92%)
CMYKcmyk(34.5%, 68.5%, 0%, 7.8%)
CIE-LABlab(49.21, 62.23, -68.33)
CIE-LCHlch(49.21, 92.42, 312.32°)
OKLaboklab(58.97% 0.1242 -0.1945)
OKLCHoklch(58.97% 0.231 302.6)
XYZxyz(30.7671, 17.7657, 80.3894)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4AEB #9BEB4A
analogous
#4A4AEB #9A4AEB #EB4AEB
triadic
#9A4AEB #EB9A4A #4AEB9A
tetradic
#9A4AEB #EB4A4A #9BEB4A #4AEBEB
square
#9A4AEB #EB4A4A #9BEB4A #4AEBEB
split-complementary
#9A4AEB #EBEB4A #4AEB4A
monochromatic
#5D13A8 #7B19DF #9A4AEB #B981F1 #D8B8F7

Accessibility & contrast

On white

4.61
#9A4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9A4AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4AEB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4AEB#FFFFFF#000000##FFFFFF
##9A4AEB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#897095
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4aeb;
/* rgb */ color: rgb(154, 74, 235);
/* oklch */ color: oklch(59.0% 0.231 302.6);
Tailwind
colors: {
  custom: {
    50: '#be82f2',
    500: '#9a4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4aeb;
$custom-light: #be82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4aeb",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 269.814,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.23073,
    "h": 302.6
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#9A4AEB
secondary
#C9E7AA
accent
#DC0973
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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