#8B59CA#8B59CA

#8B59CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.171 H 301.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8B59CA
RGBrgb(139, 89, 202)
HSLhsl(267, 52%, 57%)
HSVhsv(267, 56%, 79%)
CMYKcmyk(31.2%, 55.9%, 0%, 20.8%)
CIE-LABlab(48.13, 43.41, -51.38)
CIE-LCHlch(48.13, 67.27, 310.19°)
OKLaboklab(57.12% 0.0895 -0.1452)
OKLCHoklch(57.12% 0.171 301.7)
XYZxyz(24.8780, 16.8979, 57.8166)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59CA #98CA59
analogous
#5960CA #8B59CA #C459CA
triadic
#8B59CA #CA8B59 #59CA8B
tetradic
#8B59CA #CA5960 #98CA59 #59CAC4
square
#8B59CA #CA5960 #98CA59 #59CAC4
split-complementary
#8B59CA #CAC459 #60CA59
monochromatic
#4F2980 #6C38AE #8B59CA #AB87D9 #CCB6E8

Accessibility & contrast

On white

4.79
#8B59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8B59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59CA#FFFFFF#000000##FFFFFF
##8B59CA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#7F6F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b59ca;
/* rgb */ color: rgb(139, 89, 202);
/* oklch */ color: oklch(57.1% 0.171 301.7);
Tailwind
colors: {
  custom: {
    50: '#b08adb',
    500: '#8b59ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b59ca;
$custom-light: #b08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59ca",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 266.549,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.17058,
    "h": 301.7
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#8B59CA
secondary
#C2D6A8
accent
#DB4D9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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