#8A5DCF#8A5DCF

#8A5DCF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.170 H 299.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A5DCF
RGBrgb(138, 93, 207)
HSLhsl(264, 54%, 59%)
HSVhsv(264, 55%, 81%)
CMYKcmyk(33.3%, 55.1%, 0%, 18.8%)
CIE-LABlab(49.18, 42.21, -52.59)
CIE-LCHlch(49.18, 67.43, 308.75°)
OKLaboklab(57.96% 0.0833 -0.1488)
OKLCHoklch(57.96% 0.17 299.2)
XYZxyz(25.6553, 17.7367, 61.0913)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DCF #A2CF5D
analogous
#5D69CF #8A5DCF #C35DCF
triadic
#8A5DCF #CF8A5D #5DCF8A
tetradic
#8A5DCF #CF5D69 #A2CF5D #5DCFC3
square
#8A5DCF #CF5D69 #A2CF5D #5DCFC3
split-complementary
#8A5DCF #CFC35D #69CF5D
monochromatic
#4F2989 #6A37B8 #8A5DCF #AC8CDD #CEBBEB

Accessibility & contrast

On white

4.62
#8A5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5DCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DCF#FFFFFF#000000##FFFFFF
##8A5DCF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#7B748D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a5dcf;
/* rgb */ color: rgb(138, 93, 207);
/* oklch */ color: oklch(58.0% 0.170 299.2);
Tailwind
colors: {
  custom: {
    50: '#b08cde',
    500: '#8a5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5dcf;
$custom-light: #b08cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5dcf",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 263.684,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.17049,
    "h": 299.2
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#8A5DCF
secondary
#C9DAAD
accent
#DE4AA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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