#8954E6#8954E6

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

Color values

HEX#8954E6
RGBrgb(137, 84, 230)
HSLhsl(262, 74%, 62%)
HSVhsv(262, 63%, 90%)
CMYKcmyk(40.4%, 63.5%, 0%, 9.8%)
CIE-LABlab(48.72, 52.78, -66.39)
CIE-LCHlch(48.72, 84.81, 308.48°)
OKLaboklab(58.08% 0.0918 -0.1893)
OKLCHoklch(58.08% 0.21 295.9)
XYZxyz(27.7660, 17.3716, 76.7377)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954E6 #B1E654
analogous
#5468E6 #8954E6 #D254E6
triadic
#8954E6 #E68954 #54E689
tetradic
#8954E6 #E65468 #B1E654 #54E6D2
square
#8954E6 #E65468 #B1E654 #54E6D2
split-complementary
#8954E6 #E6D254 #68E654
monochromatic
#4C18A7 #6520DD #8954E6 #AE89EE #D3BFF6

Accessibility & contrast

On white

4.69
#8954E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8954E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954E6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954E6#FFFFFF#000000##FFFFFF
##8954E61.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8954e6;
/* rgb */ color: rgb(137, 84, 230);
/* oklch */ color: oklch(58.1% 0.210 295.9);
Tailwind
colors: {
  custom: {
    50: '#b287ef',
    500: '#8954e6',
    950: '#000000',
  },
}
SCSS
$custom: #8954e6;
$custom-light: #b287ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8954e6",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 261.781,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.21041,
    "h": 295.9
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#8954E6
secondary
#D2E6B0
accent
#D70F8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8954E6

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

Preview Lab → · Contrast checker → · Palette generator →

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