#9A4DEB#9A4DEB

#9A4DEB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.227 H 302.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9A4DEB
RGBrgb(154, 77, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 67%, 92%)
CMYKcmyk(34.5%, 67.2%, 0%, 7.8%)
CIE-LABlab(49.71, 60.84, -67.52)
CIE-LCHlch(49.71, 90.89, 312.02°)
OKLaboklab(59.32% 0.1211 -0.1921)
OKLCHoklch(59.32% 0.227 302.2)
XYZxyz(30.9722, 18.1759, 80.4577)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DEB #9EEB4D
analogous
#4D4FEB #9A4DEB #E94DEB
triadic
#9A4DEB #EB9A4D #4DEB9A
tetradic
#9A4DEB #EB4D4F #9EEB4D #4DEBE9
square
#9A4DEB #EB4D4F #9EEB4D #4DEBE9
split-complementary
#9A4DEB #EBE94D #4FEB4D
monochromatic
#5D13AA #7B19E1 #9A4DEB #B984F1 #D8BBF7

Accessibility & contrast

On white

4.53
#9A4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9A4DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4DEB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DEB#FFFFFF#000000##000000
##9A4DEB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a4deb;
/* rgb */ color: rgb(154, 77, 235);
/* oklch */ color: oklch(59.3% 0.227 302.2);
Tailwind
colors: {
  custom: {
    50: '#bd84f2',
    500: '#9a4deb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4deb;
$custom-light: #bd84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4deb",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 269.241,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.2271,
    "h": 302.2
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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