#8A5CCD#8A5CCD

#8A5CCD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.170 H 299.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A5CCD
RGBrgb(138, 92, 205)
HSLhsl(264, 53%, 58%)
HSVhsv(264, 55%, 80%)
CMYKcmyk(32.7%, 55.1%, 0%, 19.6%)
CIE-LABlab(48.84, 42.26, -51.98)
CIE-LCHlch(48.84, 66.98, 309.11°)
OKLaboklab(57.67% 0.0845 -0.147)
OKLCHoklch(57.67% 0.17 299.9)
XYZxyz(25.3252, 17.4652, 59.7826)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CCD #9FCD5C
analogous
#5C66CD #8A5CCD #C35CCD
triadic
#8A5CCD #CD8A5C #5CCD8A
tetradic
#8A5CCD #CD5C66 #9FCD5C #5CCDC3
square
#8A5CCD #CD5C66 #9FCD5C #5CCDC3
split-complementary
#8A5CCD #CDC35C #66CD5C
monochromatic
#4F2986 #6A37B4 #8A5CCD #AC8BDB #CDBAEA

Accessibility & contrast

On white

4.67
#8A5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8A5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CCD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CCD#FFFFFF#000000##FFFFFF
##8A5CCD1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#7C728C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a5ccd;
/* rgb */ color: rgb(138, 92, 205);
/* oklch */ color: oklch(57.7% 0.170 299.9);
Tailwind
colors: {
  custom: {
    50: '#b08cdd',
    500: '#8a5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ccd;
$custom-light: #b08cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ccd",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 264.425,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.16953,
    "h": 299.9
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#8A5CCD
secondary
#C7D9AC
accent
#DC4BA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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