#9B4FEA#9B4FEA

#9B4FEA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.224 H 302.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B4FEA
RGBrgb(155, 79, 234)
HSLhsl(269, 79%, 61%)
HSVhsv(269, 66%, 92%)
CMYKcmyk(33.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(50.10, 59.86, -66.32)
CIE-LCHlch(50.10, 89.35, 312.07°)
OKLaboklab(59.61% 0.1205 -0.1886)
OKLCHoklch(59.61% 0.224 302.6)
XYZxyz(31.1614, 18.5010, 79.7553)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FEA #9EEA4F
analogous
#4F51EA #9B4FEA #E84FEA
triadic
#9B4FEA #EA9B4F #4FEA9B
tetradic
#9B4FEA #EA4F51 #9EEA4F #4FEAE8
square
#9B4FEA #EA4F51 #9EEA4F #4FEAE8
split-complementary
#9B4FEA #EAE84F #51EA4F
monochromatic
#5E14AA #7C1BE1 #9B4FEA #BA86F1 #D9BCF7

Accessibility & contrast

On white

4.47
#9B4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9B4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4FEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FEA#FFFFFF#000000##000000
##9B4FEA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#8B7296
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b4fea;
/* rgb */ color: rgb(155, 79, 234);
/* oklch */ color: oklch(59.6% 0.224 302.6);
Tailwind
colors: {
  custom: {
    50: '#be85f2',
    500: '#9b4fea',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fea;
$custom-light: #be85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fea",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 269.419,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.22377,
    "h": 302.6
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#9B4FEA
secondary
#CBE7AD
accent
#DB0B75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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