#8A54EF#8A54EF

#8A54EF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.221 H 294.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A54EF
RGBrgb(138, 84, 239)
HSLhsl(261, 83%, 63%)
HSVhsv(261, 65%, 94%)
CMYKcmyk(42.3%, 64.9%, 0%, 6.3%)
CIE-LABlab(49.47, 55.30, -70.25)
CIE-LCHlch(49.47, 89.40, 308.21°)
OKLaboklab(58.84% 0.0922 -0.2007)
OKLCHoklch(58.84% 0.221 294.7)
XYZxyz(29.2274, 17.9752, 83.5743)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54EF #B9EF54
analogous
#546BEF #8A54EF #D754EF
triadic
#8A54EF #EF8A54 #54EF8A
tetradic
#8A54EF #EF546B #B9EF54 #54EFD7
square
#8A54EF #EF546B #B9EF54 #54EFD7
split-complementary
#8A54EF #EFD754 #6BEF54
monochromatic
#4B11B7 #641CEA #8A54EF #B08CF4 #D7C4F9

Accessibility & contrast

On white

4.57
#8A54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A54EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A54EF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54EF#FFFFFF#000000##000000
##8A54EF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#6F799A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a54ef;
/* rgb */ color: rgb(138, 84, 239);
/* oklch */ color: oklch(58.8% 0.221 294.7);
Tailwind
colors: {
  custom: {
    50: '#b387f5',
    500: '#8a54ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a54ef;
$custom-light: #b387f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54ef",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 260.903,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.22082,
    "h": 294.7
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#8A54EF
secondary
#D8EBB4
accent
#DF0694
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A54EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8A54EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva