#9A4FEA#9A4FEA

#9A4FEA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.224 H 302.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9A4FEA
RGBrgb(154, 79, 234)
HSLhsl(269, 79%, 61%)
HSVhsv(269, 66%, 92%)
CMYKcmyk(34.2%, 66.2%, 0%, 8.2%)
CIE-LABlab(49.98, 59.66, -66.52)
CIE-LCHlch(49.98, 89.36, 311.89°)
OKLaboklab(59.5% 0.1192 -0.1892)
OKLCHoklch(59.5% 0.224 302.2)
XYZxyz(30.9702, 18.4024, 79.7464)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FEA #9FEA4F
analogous
#4F52EA #9A4FEA #E74FEA
triadic
#9A4FEA #EA9A4F #4FEA9A
tetradic
#9A4FEA #EA4F52 #9FEA4F #4FEAE7
square
#9A4FEA #EA4F52 #9FEA4F #4FEAE7
split-complementary
#9A4FEA #EAE74F #52EA4F
monochromatic
#5D14AA #7B1BE1 #9A4FEA #B986F1 #D9BCF7

Accessibility & contrast

On white

4.49
#9A4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9A4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4FEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FEA#FFFFFF#000000##000000
##9A4FEA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a4fea;
/* rgb */ color: rgb(154, 79, 234);
/* oklch */ color: oklch(59.5% 0.224 302.2);
Tailwind
colors: {
  custom: {
    50: '#bd85f2',
    500: '#9a4fea',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fea;
$custom-light: #bd85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fea",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 269.032,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.22358,
    "h": 302.2
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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