#9A4BE5#9A4BE5

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

Color values

HEX#9A4BE5
RGBrgb(154, 75, 229)
HSLhsl(271, 75%, 60%)
HSVhsv(271, 67%, 90%)
CMYKcmyk(32.8%, 67.2%, 0%, 10.2%)
CIE-LABlab(48.96, 60.38, -65.36)
CIE-LCHlch(48.96, 88.98, 312.73°)
OKLaboklab(58.65% 0.1239 -0.1857)
OKLCHoklch(58.65% 0.223 303.7)
XYZxyz(29.9821, 17.5594, 75.9233)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BE5 #96E54B
analogous
#4D4BE5 #9A4BE5 #E54BE3
triadic
#9A4BE5 #E59A4B #4BE59A
tetradic
#9A4BE5 #E54D4B #96E54B #4BE3E5
square
#9A4BE5 #E54D4B #96E54B #4BE3E5
split-complementary
#9A4BE5 #E3E54B #4BE54D
monochromatic
#5D179F #7C1FD4 #9A4BE5 #B880ED #D6B6F4

Accessibility & contrast

On white

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

On black

4.51
#9A4BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A4BE5#FFFFFF#000000##FFFFFF
##9A4BE51.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0274E2
Tritanopia (blue-blind)
#8C6E92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4be5;
/* rgb */ color: rgb(154, 75, 229);
/* oklch */ color: oklch(58.7% 0.223 303.7);
Tailwind
colors: {
  custom: {
    50: '#bd83ee',
    500: '#9a4be5',
    950: '#000000',
  },
}
SCSS
$custom: #9a4be5;
$custom-light: #bd83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4be5",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 270.779,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.22329,
    "h": 303.7
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#9A4BE5
secondary
#C5E4A8
accent
#F13691
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A4BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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