#8A55E6#8A55E6

#8A55E6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.209 H 296.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A55E6
RGBrgb(138, 85, 230)
HSLhsl(262, 74%, 62%)
HSVhsv(262, 63%, 90%)
CMYKcmyk(40%, 63%, 0%, 9.8%)
CIE-LABlab(49.02, 52.46, -65.90)
CIE-LCHlch(49.02, 84.23, 308.52°)
OKLaboklab(58.32% 0.092 -0.1879)
OKLCHoklch(58.32% 0.209 296.1)
XYZxyz(28.0089, 17.6129, 76.7715)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55E6 #B1E655
analogous
#5569E6 #8A55E6 #D355E6
triadic
#8A55E6 #E68A55 #55E68A
tetradic
#8A55E6 #E65569 #B1E655 #55E6D3
square
#8A55E6 #E65569 #B1E655 #55E6D3
split-complementary
#8A55E6 #E6D355 #69E655
monochromatic
#4D19A8 #6621DD #8A55E6 #AF8AEE #D3C0F6

Accessibility & contrast

On white

4.64
#8A55E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A55E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55E6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55E6#FFFFFF#000000##FFFFFF
##8A55E61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#737696
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a55e6;
/* rgb */ color: rgb(138, 85, 230);
/* oklch */ color: oklch(58.3% 0.209 296.1);
Tailwind
colors: {
  custom: {
    50: '#b288ef',
    500: '#8a55e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a55e6;
$custom-light: #b288ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55e6",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 261.931,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.2092,
    "h": 296.1
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#8A55E6
secondary
#D3E6B1
accent
#D60F8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8A55E6

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

Preview Lab → · Contrast checker → · Palette generator →

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