#8A5BCF#8A5BCF

#8A5BCF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.173 H 299.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A5BCF
RGBrgb(138, 91, 207)
HSLhsl(264, 55%, 58%)
HSVhsv(264, 56%, 81%)
CMYKcmyk(33.3%, 56%, 0%, 18.8%)
CIE-LABlab(48.75, 43.32, -53.27)
CIE-LCHlch(48.75, 68.66, 309.12°)
OKLaboklab(57.64% 0.0858 -0.1508)
OKLCHoklch(57.64% 0.173 299.6)
XYZxyz(25.4821, 17.3902, 61.0335)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BCF #A0CF5B
analogous
#5B66CF #8A5BCF #C45BCF
triadic
#8A5BCF #CF8A5B #5BCF8A
tetradic
#8A5BCF #CF5B66 #A0CF5B #5BCFC4
square
#8A5BCF #CF5B66 #A0CF5B #5BCFC4
split-complementary
#8A5BCF #CFC45B #66CF5B
monochromatic
#4F2888 #6A36B7 #8A5BCF #AC8ADD #CEBAEB

Accessibility & contrast

On white

4.69
#8A5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8A5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BCF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BCF#FFFFFF#000000##FFFFFF
##8A5BCF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#7B728C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a5bcf;
/* rgb */ color: rgb(138, 91, 207);
/* oklch */ color: oklch(57.6% 0.173 299.6);
Tailwind
colors: {
  custom: {
    50: '#b08bde',
    500: '#8a5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bcf;
$custom-light: #b08bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bcf",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 264.31,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.17348,
    "h": 299.6
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#8A5BCF
secondary
#C7DAAC
accent
#DE4AA2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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