#8A54FF#8A54FF

#8A54FF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.239 H 292.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A54FF
RGBrgb(138, 84, 255)
HSLhsl(259, 100%, 66%)
HSVhsv(259, 67%, 100%)
CMYKcmyk(45.9%, 67.1%, 0%, 0%)
CIE-LABlab(50.64, 59.47, -77.26)
CIE-LCHlch(50.64, 97.50, 307.59°)
OKLaboklab(60.05% 0.09 -0.2213)
OKLCHoklch(60.05% 0.239 292.1)
XYZxyz(31.6965, 18.9629, 96.5785)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54FF #C9FF54
analogous
#5474FF #8A54FF #DF54FF
triadic
#8A54FF #FF8A54 #54FF8A
tetradic
#8A54FF #FF5474 #C9FF54 #54FFDF
square
#8A54FF #FF5474 #C9FF54 #54FFDF
split-complementary
#8A54FF #FFDF54 #74FF54
monochromatic
#4400D9 #6017FF #8A54FF #B491FF #DECEFF

Accessibility & contrast

On white

4.38
#8A54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A54FF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54FF#FFFFFF#000000##000000
##8A54FF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#667EA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a54ff;
/* rgb */ color: rgb(138, 84, 255);
/* oklch */ color: oklch(60.1% 0.239 292.1);
Tailwind
colors: {
  custom: {
    50: '#b588ff',
    500: '#8a54ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a54ff;
$custom-light: #b588ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54ff",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 258.947,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.2389,
    "h": 292.1
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#8A54FF
secondary
#E2F3BC
accent
#E6009D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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