#8B57CF#8B57CF

#8B57CF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.180 H 300.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B57CF
RGBrgb(139, 87, 207)
HSLhsl(266, 56%, 58%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(32.9%, 58%, 0%, 18.8%)
CIE-LABlab(48.02, 45.75, -54.43)
CIE-LCHlch(48.02, 71.11, 310.05°)
OKLaboklab(57.13% 0.0921 -0.1541)
OKLCHoklch(57.13% 0.18 300.8)
XYZxyz(25.3155, 16.8102, 60.9304)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57CF #9BCF57
analogous
#575FCF #8B57CF #C757CF
triadic
#8B57CF #CF8B57 #57CF8B
tetradic
#8B57CF #CF575F #9BCF57 #57CFC7
square
#8B57CF #CF575F #9BCF57 #57CFC7
split-complementary
#8B57CF #CFC757 #5FCF57
monochromatic
#4F2685 #6C34B5 #8B57CF #AC87DD #CDB6EA

Accessibility & contrast

On white

4.81
#8B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8B57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57CF#FFFFFF#000000##FFFFFF
##8B57CF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#7D708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b57cf;
/* rgb */ color: rgb(139, 87, 207);
/* oklch */ color: oklch(57.1% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#b188de',
    500: '#8b57cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b57cf;
$custom-light: #b188de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57cf",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 266,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.17955,
    "h": 300.8
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#8B57CF
secondary
#C4D9A9
accent
#DF499E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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