#9A4CEB#9A4CEB

#9A4CEB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.228 H 302.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A4CEB
RGBrgb(154, 76, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 68%, 92%)
CMYKcmyk(34.5%, 67.7%, 0%, 7.8%)
CIE-LABlab(49.54, 61.31, -67.80)
CIE-LCHlch(49.54, 91.41, 312.12°)
OKLaboklab(59.2% 0.1221 -0.1929)
OKLCHoklch(59.2% 0.228 302.3)
XYZxyz(30.9027, 18.0370, 80.4346)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CEB #9DEB4C
analogous
#4C4DEB #9A4CEB #E94CEB
triadic
#9A4CEB #EB9A4C #4CEB9A
tetradic
#9A4CEB #EB4C4D #9DEB4C #4CEBE9
square
#9A4CEB #EB4C4D #9DEB4C #4CEBE9
split-complementary
#9A4CEB #EBE94C #4DEB4C
monochromatic
#5D13AA #7B19E1 #9A4CEB #B983F1 #D8BAF7

Accessibility & contrast

On white

4.56
#9A4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9A4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4CEB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CEB#FFFFFF#000000##000000
##9A4CEB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#897196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a4ceb;
/* rgb */ color: rgb(154, 76, 235);
/* oklch */ color: oklch(59.2% 0.228 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd83f2',
    500: '#9a4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ceb;
$custom-light: #bd83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ceb",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 269.434,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.22833,
    "h": 302.3
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#9A4CEB
secondary
#CAE7AB
accent
#DC0975
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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