#8B57F3#8B57F3

#8B57F3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.222 H 293.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B57F3
RGBrgb(139, 87, 243)
HSLhsl(260, 87%, 65%)
HSVhsv(260, 64%, 95%)
CMYKcmyk(42.8%, 64.2%, 0%, 4.7%)
CIE-LABlab(50.42, 54.99, -70.93)
CIE-LCHlch(50.42, 89.75, 307.78°)
OKLaboklab(59.64% 0.09 -0.2026)
OKLCHoklch(59.64% 0.222 293.9)
XYZxyz(30.2289, 18.7756, 86.8080)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57F3 #BFF357
analogous
#5771F3 #8B57F3 #D957F3
triadic
#8B57F3 #F38B57 #57F38B
tetradic
#8B57F3 #F35771 #BFF357 #57F3D9
square
#8B57F3 #F35771 #BFF357 #57F3D9
split-complementary
#8B57F3 #F3D957 #71F357
monochromatic
#4A0EC2 #641EEF #8B57F3 #B290F7 #DAC9FB

Accessibility & contrast

On white

4.42
#8B57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8B57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57F3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57F3#FFFFFF#000000##000000
##8B57F31.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6E7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b57f3;
/* rgb */ color: rgb(139, 87, 243);
/* oklch */ color: oklch(59.6% 0.222 293.9);
Tailwind
colors: {
  custom: {
    50: '#b489f8',
    500: '#8b57f3',
    950: '#000000',
  },
}
SCSS
$custom: #8b57f3;
$custom-light: #b489f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57f3",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 260,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.22172,
    "h": 293.9
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#8B57F3
secondary
#DCEEB8
accent
#E30298
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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