#8954E5#8954E5

#8954E5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.209 H 296.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8954E5
RGBrgb(137, 84, 229)
HSLhsl(262, 74%, 61%)
HSVhsv(262, 63%, 90%)
CMYKcmyk(40.2%, 63.3%, 0%, 10.2%)
CIE-LABlab(48.66, 52.52, -65.94)
CIE-LCHlch(48.66, 84.30, 308.54°)
OKLaboklab(58.01% 0.0918 -0.188)
OKLCHoklch(58.01% 0.209 296)
XYZxyz(27.6260, 17.3156, 76.0003)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954E5 #B0E554
analogous
#5468E5 #8954E5 #D254E5
triadic
#8954E5 #E58954 #54E589
tetradic
#8954E5 #E55468 #B0E554 #54E5D2
square
#8954E5 #E55468 #B0E554 #54E5D2
split-complementary
#8954E5 #E5D254 #68E554
monochromatic
#4C19A5 #6521DB #8954E5 #AE89ED #D2BEF5

Accessibility & contrast

On white

4.71
#8954E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8954E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954E5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954E5#FFFFFF#000000##FFFFFF
##8954E51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#727595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8954e5;
/* rgb */ color: rgb(137, 84, 229);
/* oklch */ color: oklch(58.0% 0.209 296.0);
Tailwind
colors: {
  custom: {
    50: '#b287ee',
    500: '#8954e5',
    950: '#000000',
  },
}
SCSS
$custom: #8954e5;
$custom-light: #b287ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8954e5",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 261.931,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.20926,
    "h": 296
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#8954E5
secondary
#D2E6AF
accent
#D6108D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8954E5

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

Preview Lab → · Contrast checker → · Palette generator →

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