#8A55D4#8A55D4

#8A55D4 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.188 H 299.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A55D4
RGBrgb(138, 85, 212)
HSLhsl(265, 60%, 58%)
HSVhsv(265, 60%, 83%)
CMYKcmyk(34.9%, 59.9%, 0%, 16.9%)
CIE-LABlab(47.82, 47.86, -57.62)
CIE-LCHlch(47.82, 74.90, 309.71°)
OKLaboklab(57.06% 0.0931 -0.1635)
OKLCHoklch(57.06% 0.188 299.6)
XYZxyz(25.6105, 16.6535, 64.1398)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55D4 #9FD455
analogous
#5560D4 #8A55D4 #C955D4
triadic
#8A55D4 #D48A55 #55D48A
tetradic
#8A55D4 #D45560 #9FD455 #55D4C9
square
#8A55D4 #D45560 #9FD455 #55D4C9
split-complementary
#8A55D4 #D4C955 #60D455
monochromatic
#4F238B #6A30BC #8A55D4 #AC86E0 #CDB7ED

Accessibility & contrast

On white

4.85
#8A55D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8A55D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55D4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55D4#FFFFFF#000000##FFFFFF
##8A55D41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#2870D1
Tritanopia (blue-blind)
#7A708C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a55d4;
/* rgb */ color: rgb(138, 85, 212);
/* oklch */ color: oklch(57.1% 0.188 299.6);
Tailwind
colors: {
  custom: {
    50: '#b187e2',
    500: '#8a55d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a55d4;
$custom-light: #b187e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55d4",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 265.039,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.18818,
    "h": 299.6
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#8A55D4
secondary
#C7DCA9
accent
#E345A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55D4

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

Preview Lab → · Contrast checker → · Palette generator →

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