#8F57E8#8F57E8

#8F57E8 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.209 H 297.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F57E8
RGBrgb(143, 87, 232)
HSLhsl(263, 76%, 63%)
HSVhsv(263, 63%, 91%)
CMYKcmyk(38.4%, 62.5%, 0%, 9%)
CIE-LABlab(50.08, 52.95, -65.30)
CIE-LCHlch(50.08, 84.07, 309.04°)
OKLaboklab(59.24% 0.0963 -0.186)
OKLCHoklch(59.24% 0.209 297.4)
XYZxyz(29.2977, 18.4818, 78.3521)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E8 #B0E857
analogous
#5768E8 #8F57E8 #D757E8
triadic
#8F57E8 #E88F57 #57E88F
tetradic
#8F57E8 #E85768 #B0E857 #57E8D7
square
#8F57E8 #E85768 #B0E857 #57E8D7
split-complementary
#8F57E8 #E8D757 #68E857
monochromatic
#5118AD #6B21E1 #8F57E8 #B38DEF #D7C3F7

Accessibility & contrast

On white

4.47
#8F57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8F57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E8#FFFFFF#000000##000000
##8F57E81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#7A7898
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f57e8;
/* rgb */ color: rgb(143, 87, 232);
/* oklch */ color: oklch(59.2% 0.209 297.4);
Tailwind
colors: {
  custom: {
    50: '#b589f0',
    500: '#8f57e8',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e8;
$custom-light: #b589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e8",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 263.172,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.2094,
    "h": 297.4
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#8F57E8
secondary
#D3E8B3
accent
#D80D8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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