#8954E3#8954E3

#8954E3 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.207 H 296.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8954E3
RGBrgb(137, 84, 227)
HSLhsl(262, 72%, 61%)
HSVhsv(262, 63%, 89%)
CMYKcmyk(39.6%, 63%, 0%, 11%)
CIE-LABlab(48.52, 52.00, -65.03)
CIE-LCHlch(48.52, 83.27, 308.65°)
OKLaboklab(57.86% 0.092 -0.1854)
OKLCHoklch(57.86% 0.207 296.4)
XYZxyz(27.3484, 17.2045, 74.5381)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954E3 #AEE354
analogous
#5466E3 #8954E3 #D054E3
triadic
#8954E3 #E38954 #54E389
tetradic
#8954E3 #E35466 #AEE354 #54E3D0
square
#8954E3 #E35466 #AEE354 #54E3D0
split-complementary
#8954E3 #E3D054 #66E354
monochromatic
#4D1BA2 #6623D7 #8954E3 #AD89EC #D2BDF4

Accessibility & contrast

On white

4.73
#8954E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8954E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954E3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954E3#FFFFFF#000000##FFFFFF
##8954E31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#737594
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8954e3;
/* rgb */ color: rgb(137, 84, 227);
/* oklch */ color: oklch(57.9% 0.207 296.4);
Tailwind
colors: {
  custom: {
    50: '#b187ed',
    500: '#8954e3',
    950: '#000000',
  },
}
SCSS
$custom: #8954e3;
$custom-light: #b187ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8954e3",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 262.238,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.20694,
    "h": 296.4
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#8954E3
secondary
#D0E4AE
accent
#D4128C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8954E3

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

Preview Lab → · Contrast checker → · Palette generator →

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