#8B57E7#8B57E7

#8B57E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.208 H 296.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B57E7
RGBrgb(139, 87, 231)
HSLhsl(262, 75%, 62%)
HSVhsv(262, 62%, 91%)
CMYKcmyk(39.8%, 62.3%, 0%, 9.4%)
CIE-LABlab(49.59, 51.87, -65.55)
CIE-LCHlch(49.59, 83.59, 308.35°)
OKLaboklab(58.77% 0.0911 -0.1868)
OKLCHoklch(58.77% 0.208 296)
XYZxyz(28.4757, 18.0743, 77.5742)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57E7 #B3E757
analogous
#576BE7 #8B57E7 #D357E7
triadic
#8B57E7 #E78B57 #57E78B
tetradic
#8B57E7 #E7576B #B3E757 #57E7D3
square
#8B57E7 #E7576B #B3E757 #57E7D3
split-complementary
#8B57E7 #E7D357 #6BE757
monochromatic
#4D18AB #6621DF #8B57E7 #B08DEF #D5C2F6

Accessibility & contrast

On white

4.55
#8B57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8B57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57E7#FFFFFF#000000##000000
##8B57E71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#747897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b57e7;
/* rgb */ color: rgb(139, 87, 231);
/* oklch */ color: oklch(58.8% 0.208 296.0);
Tailwind
colors: {
  custom: {
    50: '#b389ef',
    500: '#8b57e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b57e7;
$custom-light: #b389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57e7",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 261.667,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.20784,
    "h": 296
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#8B57E7
secondary
#D4E7B3
accent
#D70E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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