#8A55CD#8A55CD

#8A55CD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.180 H 301.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A55CD
RGBrgb(138, 85, 205)
HSLhsl(267, 55%, 57%)
HSVhsv(267, 59%, 80%)
CMYKcmyk(32.7%, 58.5%, 0%, 19.6%)
CIE-LABlab(47.38, 46.10, -54.33)
CIE-LCHlch(47.38, 71.25, 310.32°)
OKLaboklab(56.6% 0.0932 -0.1539)
OKLCHoklch(56.6% 0.18 301.2)
XYZxyz(24.7466, 16.3079, 59.5898)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55CD #98CD55
analogous
#555CCD #8A55CD #C655CD
triadic
#8A55CD #CD8A55 #55CD8A
tetradic
#8A55CD #CD555C #98CD55 #55CDC6
square
#8A55CD #CD555C #98CD55 #55CDC6
split-complementary
#8A55CD #CDC655 #5CCD55
monochromatic
#4E2682 #6B34B1 #8A55CD #AB84DB #CBB4E9

Accessibility & contrast

On white

4.93
#8A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8A55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55CD#FFFFFF#000000##FFFFFF
##8A55CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#7C6E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a55cd;
/* rgb */ color: rgb(138, 85, 205);
/* oklch */ color: oklch(56.6% 0.180 301.2);
Tailwind
colors: {
  custom: {
    50: '#b087dd',
    500: '#8a55cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a55cd;
$custom-light: #b087dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55cd",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 266.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.17991,
    "h": 301.2
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#8A55CD
secondary
#C2D7A6
accent
#DE4A9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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