#8F57E6#8F57E6

#8F57E6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.207 H 297.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8F57E6
RGBrgb(143, 87, 230)
HSLhsl(263, 74%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(37.8%, 62.2%, 0%, 9.8%)
CIE-LABlab(49.94, 52.44, -64.39)
CIE-LCHlch(49.94, 83.04, 309.16°)
OKLaboklab(59.1% 0.0964 -0.1833)
OKLCHoklch(59.1% 0.207 297.7)
XYZxyz(29.0152, 18.3688, 76.8644)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E6 #AEE657
analogous
#5766E6 #8F57E6 #D757E6
triadic
#8F57E6 #E68F57 #57E68F
tetradic
#8F57E6 #E65766 #AEE657 #57E6D7
square
#8F57E6 #E65766 #AEE657 #57E6D7
split-complementary
#8F57E6 #E6D757 #66E657
monochromatic
#5219A9 #6B22DE #8F57E6 #B38CEE #D6C2F6

Accessibility & contrast

On white

4.49
#8F57E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8F57E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E6#FFFFFF#000000##000000
##8F57E61.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#7A7797
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f57e6;
/* rgb */ color: rgb(143, 87, 230);
/* oklch */ color: oklch(59.1% 0.207 297.7);
Tailwind
colors: {
  custom: {
    50: '#b589ef',
    500: '#8f57e6',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e6;
$custom-light: #b589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e6",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 263.497,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.2071,
    "h": 297.7
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#8F57E6
secondary
#D2E7B2
accent
#D60F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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