#8A5DD3#8A5DD3

#8A5DD3 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.175 H 298.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A5DD3
RGBrgb(138, 93, 211)
HSLhsl(263, 57%, 60%)
HSVhsv(263, 56%, 83%)
CMYKcmyk(34.6%, 55.9%, 0%, 17.3%)
CIE-LABlab(49.42, 43.23, -54.48)
CIE-LCHlch(49.42, 69.55, 308.43°)
OKLaboklab(58.21% 0.0834 -0.1543)
OKLCHoklch(58.21% 0.175 298.4)
XYZxyz(26.1506, 17.9348, 63.6994)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DD3 #A6D35D
analogous
#5D6BD3 #8A5DD3 #C55DD3
triadic
#8A5DD3 #D38A5D #5DD38A
tetradic
#8A5DD3 #D35D6B #A6D35D #5DD3C5
square
#8A5DD3 #D35D6B #A6D35D #5DD3C5
split-complementary
#8A5DD3 #D3C55D #6BD35D
monochromatic
#4E278F #6934BF #8A5DD3 #AD8DE0 #D0BDED

Accessibility & contrast

On white

4.58
#8A5DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A5DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DD3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DD3#FFFFFF#000000##000000
##8A5DD31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2776D7
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#7A758F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a5dd3;
/* rgb */ color: rgb(138, 93, 211);
/* oklch */ color: oklch(58.2% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#b08ce1',
    500: '#8a5dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dd3;
$custom-light: #b08ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dd3",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 262.881,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.17542,
    "h": 298.4
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#8A5DD3
secondary
#CBDDAF
accent
#E147A6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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