#8A54FD#8A54FD

#8A54FD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.237 H 292.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A54FD
RGBrgb(138, 84, 253)
HSLhsl(259, 98%, 66%)
HSVhsv(259, 67%, 99%)
CMYKcmyk(45.5%, 66.8%, 0%, 0.8%)
CIE-LABlab(50.49, 58.95, -76.39)
CIE-LCHlch(50.49, 96.50, 307.66°)
OKLaboklab(59.9% 0.0903 -0.2187)
OKLCHoklch(59.9% 0.237 292.4)
XYZxyz(31.3763, 18.8347, 94.8918)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54FD #C7FD54
analogous
#5472FD #8A54FD #DF54FD
triadic
#8A54FD #FD8A54 #54FD8A
tetradic
#8A54FD #FD5472 #C7FD54 #54FDDF
square
#8A54FD #FD5472 #C7FD54 #54FDDF
split-complementary
#8A54FD #FDDF54 #72FD54
monochromatic
#4502D4 #6118FC #8A54FD #B390FE #DDCDFE

Accessibility & contrast

On white

4.41
#8A54FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8A54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A54FD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54FD#FFFFFF#000000##000000
##8A54FD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#677EA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a54fd;
/* rgb */ color: rgb(138, 84, 253);
/* oklch */ color: oklch(59.9% 0.237 292.4);
Tailwind
colors: {
  custom: {
    50: '#b588ff',
    500: '#8a54fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a54fd;
$custom-light: #b588ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54fd",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 259.172,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.23666,
    "h": 292.4
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#8A54FD
secondary
#E0F2BB
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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