#8A5DD6#8A5DD6

#8A5DD6 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.179 H 297.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A5DD6
RGBrgb(138, 93, 214)
HSLhsl(262, 60%, 60%)
HSVhsv(262, 57%, 84%)
CMYKcmyk(35.5%, 56.5%, 0%, 16.1%)
CIE-LABlab(49.60, 44.00, -55.90)
CIE-LCHlch(49.60, 71.14, 308.21°)
OKLaboklab(58.41% 0.0834 -0.1585)
OKLCHoklch(58.41% 0.179 297.8)
XYZxyz(26.5302, 18.0867, 65.6986)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DD6 #A9D65D
analogous
#5D6CD6 #8A5DD6 #C65DD6
triadic
#8A5DD6 #D68A5D #5DD68A
tetradic
#8A5DD6 #D65D6C #A9D65D #5DD6C6
square
#8A5DD6 #D65D6C #A9D65D #5DD6C6
split-complementary
#8A5DD6 #D6C65D #6CD65D
monochromatic
#4E2593 #6832C4 #8A5DD6 #AD8EE2 #D1BFEF

Accessibility & contrast

On white

4.55
#8A5DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A5DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DD6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DD6#FFFFFF#000000##000000
##8A5DD61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276DA
Deuteranopia (green-blind)
#3475D3
Tritanopia (blue-blind)
#797691
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5dd6;
/* rgb */ color: rgb(138, 93, 214);
/* oklch */ color: oklch(58.4% 0.179 297.8);
Tailwind
colors: {
  custom: {
    50: '#b08ce3',
    500: '#8a5dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dd6;
$custom-light: #b08ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dd6",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 214
  },
  "hsl": {
    "h": 262.314,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.1791,
    "h": 297.8
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#8A5DD6
secondary
#CDDFB0
accent
#C71E88
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A5DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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