#8954E7#8954E7

#8954E7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.212 H 295.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8954E7
RGBrgb(137, 84, 231)
HSLhsl(262, 75%, 62%)
HSVhsv(262, 64%, 91%)
CMYKcmyk(40.7%, 63.6%, 0%, 9.4%)
CIE-LABlab(48.79, 53.04, -66.84)
CIE-LCHlch(48.79, 85.33, 308.43°)
OKLaboklab(58.15% 0.0917 -0.1907)
OKLCHoklch(58.15% 0.212 295.7)
XYZxyz(27.9069, 17.4279, 77.4794)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954E7 #B2E754
analogous
#5469E7 #8954E7 #D354E7
triadic
#8954E7 #E78954 #54E789
tetradic
#8954E7 #E75469 #B2E754 #54E7D3
square
#8954E7 #E75469 #B2E754 #54E7D3
split-complementary
#8954E7 #E7D354 #69E754
monochromatic
#4C18A9 #641FDF #8954E7 #AE8AEF #D3BFF6

Accessibility & contrast

On white

4.68
#8954E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8954E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954E7#FFFFFF#000000##FFFFFF
##8954E71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#717696
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8954e7;
/* rgb */ color: rgb(137, 84, 231);
/* oklch */ color: oklch(58.1% 0.212 295.7);
Tailwind
colors: {
  custom: {
    50: '#b287f0',
    500: '#8954e7',
    950: '#000000',
  },
}
SCSS
$custom: #8954e7;
$custom-light: #b287f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8954e7",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 261.633,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.21157,
    "h": 295.7
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#8954E7
secondary
#D3E7B0
accent
#D80E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8954E7

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

Preview Lab → · Contrast checker → · Palette generator →

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