#9A4FE8#9A4FE8

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

Color values

HEX#9A4FE8
RGBrgb(154, 79, 232)
HSLhsl(269, 77%, 61%)
HSVhsv(269, 66%, 91%)
CMYKcmyk(33.6%, 65.9%, 0%, 9%)
CIE-LABlab(49.84, 59.19, -65.62)
CIE-LCHlch(49.84, 88.37, 312.05°)
OKLaboklab(59.35% 0.1194 -0.1865)
OKLCHoklch(59.35% 0.221 302.6)
XYZxyz(30.6845, 18.2881, 78.2417)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FE8 #9DE84F
analogous
#4F50E8 #9A4FE8 #E64FE8
triadic
#9A4FE8 #E89A4F #4FE89A
tetradic
#9A4FE8 #E84F50 #9DE84F #4FE8E6
square
#9A4FE8 #E84F50 #9DE84F #4FE8E6
split-complementary
#9A4FE8 #E8E64F #50E84F
monochromatic
#5D16A7 #7B1DDD #9A4FE8 #B985EF #D8BBF6

Accessibility & contrast

On white

4.51
#9A4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A4FE8#FFFFFF#000000##000000
##9A4FE81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0776E5
Tritanopia (blue-blind)
#8A7195
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a4fe8;
/* rgb */ color: rgb(154, 79, 232);
/* oklch */ color: oklch(59.4% 0.221 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd85f0',
    500: '#9a4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fe8;
$custom-light: #bd85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fe8",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 269.412,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.22145,
    "h": 302.6
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#9A4FE8
secondary
#CAE6AD
accent
#D90C75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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