#8B57DB#8B57DB

#8B57DB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.194 H 298.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8B57DB
RGBrgb(139, 87, 219)
HSLhsl(264, 65%, 60%)
HSVhsv(264, 60%, 86%)
CMYKcmyk(36.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(48.78, 48.78, -60.05)
CIE-LCHlch(48.78, 77.37, 309.09°)
OKLaboklab(57.93% 0.0918 -0.1707)
OKLCHoklch(57.93% 0.194 298.3)
XYZxyz(26.8386, 17.4195, 68.9524)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57DB #A7DB57
analogous
#5765DB #8B57DB #CD57DB
triadic
#8B57DB #DB8B57 #57DB8B
tetradic
#8B57DB #DB5765 #A7DB57 #57DBCD
square
#8B57DB #DB5765 #A7DB57 #57DBCD
split-complementary
#8B57DB #DBCD57 #65DB57
monochromatic
#4F2097 #6A2BCA #8B57DB #AE89E6 #D1BCF1

Accessibility & contrast

On white

4.68
#8B57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B57DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57DB#FFFFFF#000000##FFFFFF
##8B57DB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2173D8
Tritanopia (blue-blind)
#797391
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b57db;
/* rgb */ color: rgb(139, 87, 219);
/* oklch */ color: oklch(57.9% 0.194 298.3);
Tailwind
colors: {
  custom: {
    50: '#b289e7',
    500: '#8b57db',
    950: '#000000',
  },
}
SCSS
$custom: #8b57db;
$custom-light: #b289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57db",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 263.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.19377,
    "h": 298.3
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#8B57DB
secondary
#CCE0AD
accent
#E840A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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