#8A55BE#8A55BE

#8A55BE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.162 H 305.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A55BE
RGBrgb(138, 85, 190)
HSLhsl(270, 45%, 54%)
HSVhsv(270, 55%, 75%)
CMYKcmyk(27.4%, 55.3%, 0%, 25.5%)
CIE-LABlab(46.47, 42.41, -47.11)
CIE-LCHlch(46.47, 63.39, 311.99°)
OKLaboklab(55.64% 0.093 -0.1327)
OKLCHoklch(55.64% 0.162 305)
XYZxyz(23.0220, 15.6181, 50.5070)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55BE #89BE55
analogous
#5655BE #8A55BE #BE55BE
triadic
#8A55BE #BE8A55 #55BE8A
tetradic
#8A55BE #BE5655 #89BE55 #55BEBE
square
#8A55BE #BE5655 #89BE55 #55BEBE
split-complementary
#8A55BE #BEBE55 #55BE56
monochromatic
#4D2A6E #6B3B9B #8A55BE #A881CF #C7AEE0

Accessibility & contrast

On white

5.09
#8A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8A55BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55BE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55BE#FFFFFF#000000##FFFFFF
##8A55BE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC1
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#816981
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55be;
/* rgb */ color: rgb(138, 85, 190);
/* oklch */ color: oklch(55.6% 0.162 305.0);
Tailwind
colors: {
  custom: {
    50: '#af87d2',
    500: '#8a55be',
    950: '#000000',
  },
}
SCSS
$custom: #8a55be;
$custom-light: #af87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55be",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 270.286,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.16206,
    "h": 305
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#8A55BE
secondary
#B7CEA1
accent
#D45393
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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