#8A54DF#8A54DF

#8A54DF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.202 H 297.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A54DF
RGBrgb(138, 84, 223)
HSLhsl(263, 68%, 60%)
HSVhsv(263, 62%, 87%)
CMYKcmyk(38.1%, 62.3%, 0%, 12.5%)
CIE-LABlab(48.35, 51.18, -63.03)
CIE-LCHlch(48.35, 81.19, 309.08°)
OKLaboklab(57.68% 0.0937 -0.1794)
OKLCHoklch(57.68% 0.202 297.6)
XYZxyz(26.9674, 17.0712, 71.6720)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54DF #A9DF54
analogous
#5464DF #8A54DF #CF54DF
triadic
#8A54DF #DF8A54 #54DF8A
tetradic
#8A54DF #DF5464 #A9DF54 #54DFCF
square
#8A54DF #DF5464 #A9DF54 #54DFCF
split-complementary
#8A54DF #DFCF54 #64DF54
monochromatic
#4E1D9C #6827CF #8A54DF #AD88E9 #D1BBF2

Accessibility & contrast

On white

4.76
#8A54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54DF#FFFFFF#000000##FFFFFF
##8A54DF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0571DC
Tritanopia (blue-blind)
#767392
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a54df;
/* rgb */ color: rgb(138, 84, 223);
/* oklch */ color: oklch(57.7% 0.202 297.6);
Tailwind
colors: {
  custom: {
    50: '#b287ea',
    500: '#8a54df',
    950: '#000000',
  },
}
SCSS
$custom: #8a54df;
$custom-light: #b287ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54df",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 263.309,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.20241,
    "h": 297.6
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#8A54DF
secondary
#CDE2AD
accent
#D01588
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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