#8B57DF#8B57DF

#8B57DF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.198 H 297.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B57DF
RGBrgb(139, 87, 223)
HSLhsl(263, 68%, 61%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.7%, 61%, 0%, 12.5%)
CIE-LABlab(49.05, 49.81, -61.90)
CIE-LCHlch(49.05, 79.45, 308.82°)
OKLaboklab(58.21% 0.0916 -0.1761)
OKLCHoklch(58.21% 0.198 297.5)
XYZxyz(27.3716, 17.6327, 71.7591)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57DF #ABDF57
analogous
#5767DF #8B57DF #CF57DF
triadic
#8B57DF #DF8B57 #57DF8B
tetradic
#8B57DF #DF5767 #ABDF57 #57DFCF
square
#8B57DF #DF5767 #ABDF57 #57DFCF
split-complementary
#8B57DF #DFCF57 #67DF57
monochromatic
#4F1E9E #6828D1 #8B57DF #AE8AE9 #D2BEF3

Accessibility & contrast

On white

4.64
#8B57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8B57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57DF#FFFFFF#000000##FFFFFF
##8B57DF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#777593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b57df;
/* rgb */ color: rgb(139, 87, 223);
/* oklch */ color: oklch(58.2% 0.198 297.5);
Tailwind
colors: {
  custom: {
    50: '#b289ea',
    500: '#8b57df',
    950: '#000000',
  },
}
SCSS
$custom: #8b57df;
$custom-light: #b289ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57df",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 262.941,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.19849,
    "h": 297.5
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#8B57DF
secondary
#CFE3AF
accent
#D01689
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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