#8954EA#8954EA

#8954EA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.215 H 295.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8954EA
RGBrgb(137, 84, 234)
HSLhsl(261, 78%, 62%)
HSVhsv(261, 64%, 92%)
CMYKcmyk(41.5%, 64.1%, 0%, 8.2%)
CIE-LABlab(49.01, 53.81, -68.19)
CIE-LCHlch(49.01, 86.86, 308.28°)
OKLaboklab(58.37% 0.0914 -0.1946)
OKLCHoklch(58.37% 0.215 295.1)
XYZxyz(28.3342, 17.5989, 79.7300)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954EA #B5EA54
analogous
#546AEA #8954EA #D454EA
triadic
#8954EA #EA8954 #54EA89
tetradic
#8954EA #EA546A #B5EA54 #54EAD4
square
#8954EA #EA546A #B5EA54 #54EAD4
split-complementary
#8954EA #EAD454 #6AEA54
monochromatic
#4B15AE #631DE3 #8954EA #AF8BF1 #D4C1F7

Accessibility & contrast

On white

4.65
#8954EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8954EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8954EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954EA#FFFFFF#000000##FFFFFF
##8954EA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#6F7798
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8954ea;
/* rgb */ color: rgb(137, 84, 234);
/* oklch */ color: oklch(58.4% 0.215 295.1);
Tailwind
colors: {
  custom: {
    50: '#b287f2',
    500: '#8954ea',
    950: '#000000',
  },
}
SCSS
$custom: #8954ea;
$custom-light: #b287f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8954ea",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 261.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.21502,
    "h": 295.1
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#8954EA
secondary
#D5E8B2
accent
#DA0B91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8954EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8954EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva