#8B57F2#8B57F2

#8B57F2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.221 H 294.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8B57F2
RGBrgb(139, 87, 242)
HSLhsl(260, 86%, 65%)
HSVhsv(260, 64%, 95%)
CMYKcmyk(42.6%, 64%, 0%, 5.1%)
CIE-LABlab(50.35, 54.73, -70.48)
CIE-LCHlch(50.35, 89.23, 307.83°)
OKLaboklab(59.57% 0.0901 -0.2013)
OKLCHoklch(59.57% 0.221 294.1)
XYZxyz(30.0783, 18.7154, 86.0149)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57F2 #BEF257
analogous
#5771F2 #8B57F2 #D857F2
triadic
#8B57F2 #F28B57 #57F28B
tetradic
#8B57F2 #F25771 #BEF257 #57F2D8
square
#8B57F2 #F25771 #BEF257 #57F2D8
split-complementary
#8B57F2 #F2D857 #71F257
monochromatic
#4A0FC0 #641EEE #8B57F2 #B290F6 #D9C9FB

Accessibility & contrast

On white

4.43
#8B57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8B57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57F2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57F2#FFFFFF#000000##000000
##8B57F21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#6F7B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b57f2;
/* rgb */ color: rgb(139, 87, 242);
/* oklch */ color: oklch(59.6% 0.221 294.1);
Tailwind
colors: {
  custom: {
    50: '#b489f7',
    500: '#8b57f2',
    950: '#000000',
  },
}
SCSS
$custom: #8b57f2;
$custom-light: #b489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57f2",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 260.129,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.22057,
    "h": 294.1
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#8B57F2
secondary
#DBEDB8
accent
#E20397
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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