#8F57E7#8F57E7

#8F57E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.208 H 297.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8F57E7
RGBrgb(143, 87, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(38.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(50.01, 52.69, -64.85)
CIE-LCHlch(50.01, 83.56, 309.10°)
OKLaboklab(59.17% 0.0963 -0.1846)
OKLCHoklch(59.17% 0.208 297.6)
XYZxyz(29.1560, 18.4251, 77.6061)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E7 #AFE757
analogous
#5767E7 #8F57E7 #D757E7
triadic
#8F57E7 #E78F57 #57E78F
tetradic
#8F57E7 #E75767 #AFE757 #57E7D7
square
#8F57E7 #E75767 #AFE757 #57E7D7
split-complementary
#8F57E7 #E7D757 #67E757
monochromatic
#5118AB #6B21DF #8F57E7 #B38DEF #D6C2F6

Accessibility & contrast

On white

4.48
#8F57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8F57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E7#FFFFFF#000000##000000
##8F57E71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0275E4
Tritanopia (blue-blind)
#7A7797
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f57e7;
/* rgb */ color: rgb(143, 87, 231);
/* oklch */ color: oklch(59.2% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#b589ef',
    500: '#8f57e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e7;
$custom-light: #b589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e7",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 263.333,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.20825,
    "h": 297.6
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#8F57E7
secondary
#D3E7B3
accent
#D70E89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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