#8A5DD8#8A5DD8

#8A5DD8 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.182 H 297.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A5DD8
RGBrgb(138, 93, 216)
HSLhsl(262, 61%, 61%)
HSVhsv(262, 57%, 85%)
CMYKcmyk(36.1%, 56.9%, 0%, 15.3%)
CIE-LABlab(49.73, 44.52, -56.84)
CIE-LCHlch(49.73, 72.20, 308.07°)
OKLaboklab(58.54% 0.0834 -0.1612)
OKLCHoklch(58.54% 0.182 297.4)
XYZxyz(26.7871, 18.1895, 67.0521)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DD8 #ABD85D
analogous
#5D6DD8 #8A5DD8 #C75DD8
triadic
#8A5DD8 #D88A5D #5DD88A
tetradic
#8A5DD8 #D85D6D #ABD85D #5DD8C7
square
#8A5DD8 #D85D6D #ABD85D #5DD8C7
split-complementary
#8A5DD8 #D8C75D #6DD85D
monochromatic
#4E2496 #6830C8 #8A5DD8 #AE8EE4 #D1C0F0

Accessibility & contrast

On white

4.53
#8A5DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A5DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DD8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DD8#FFFFFF#000000##000000
##8A5DD81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DC
Deuteranopia (green-blind)
#3175D5
Tritanopia (blue-blind)
#787792
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5dd8;
/* rgb */ color: rgb(138, 93, 216);
/* oklch */ color: oklch(58.5% 0.182 297.4);
Tailwind
colors: {
  custom: {
    50: '#b18ce5',
    500: '#8a5dd8',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dd8;
$custom-light: #b18ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dd8",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 261.951,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.18155,
    "h": 297.4
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#8A5DD8
secondary
#CFE0B1
accent
#C91D8A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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