#8A54CF#8A54CF

#8A54CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.184 H 300.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A54CF
RGBrgb(138, 84, 207)
HSLhsl(266, 56%, 57%)
HSVhsv(266, 59%, 81%)
CMYKcmyk(33.3%, 59.4%, 0%, 18.8%)
CIE-LABlab(47.30, 47.14, -55.60)
CIE-LCHlch(47.30, 72.89, 310.29°)
OKLaboklab(56.58% 0.0944 -0.1576)
OKLCHoklch(56.58% 0.184 300.9)
XYZxyz(24.9114, 16.2488, 60.8433)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54CF #99CF54
analogous
#545CCF #8A54CF #C754CF
triadic
#8A54CF #CF8A54 #54CF8A
tetradic
#8A54CF #CF545C #99CF54 #54CFC7
square
#8A54CF #CF545C #99CF54 #54CFC7
split-complementary
#8A54CF #CFC754 #5CCF54
monochromatic
#4F2584 #6B32B3 #8A54CF #AB84DC #CBB4EA

Accessibility & contrast

On white

4.94
#8A54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8A54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54CF#FFFFFF#000000##FFFFFF
##8A54CF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D70D3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#7C6E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a54cf;
/* rgb */ color: rgb(138, 84, 207);
/* oklch */ color: oklch(56.6% 0.184 300.9);
Tailwind
colors: {
  custom: {
    50: '#b086de',
    500: '#8a54cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a54cf;
$custom-light: #b086de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54cf",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 266.341,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.18371,
    "h": 300.9
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#8A54CF
secondary
#C2D8A6
accent
#DF489D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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