#8F57CA#8F57CA

#8F57CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.174 H 303.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F57CA
RGBrgb(143, 87, 202)
HSLhsl(269, 52%, 57%)
HSVhsv(269, 57%, 79%)
CMYKcmyk(29.2%, 56.9%, 0%, 20.8%)
CIE-LABlab(48.16, 45.48, -51.31)
CIE-LCHlch(48.16, 68.57, 311.55°)
OKLaboklab(57.24% 0.0972 -0.1449)
OKLCHoklch(57.24% 0.174 303.9)
XYZxyz(25.3942, 16.9204, 57.7938)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CA #92CA57
analogous
#5759CA #8F57CA #C857CA
triadic
#8F57CA #CA8F57 #57CA8F
tetradic
#8F57CA #CA5759 #92CA57 #57CAC8
square
#8F57CA #CA5759 #92CA57 #57CAC8
split-complementary
#8F57CA #CAC857 #59CA57
monochromatic
#52287F #7037AD #8F57CA #AE86D9 #CDB4E7

Accessibility & contrast

On white

4.79
#8F57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8F57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CA#FFFFFF#000000##FFFFFF
##8F57CA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#846D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f57ca;
/* rgb */ color: rgb(143, 87, 202);
/* oklch */ color: oklch(57.2% 0.174 303.9);
Tailwind
colors: {
  custom: {
    50: '#b389db',
    500: '#8f57ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f57ca;
$custom-light: #b389db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57ca",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 269.217,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.17447,
    "h": 303.9
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#8F57CA
secondary
#BFD6A7
accent
#DB4C96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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