#8F5EC8#8F5EC8

#8F5EC8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.161 H 303.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F5EC8
RGBrgb(143, 94, 200)
HSLhsl(268, 49%, 58%)
HSVhsv(268, 53%, 78%)
CMYKcmyk(28.5%, 53%, 0%, 21.6%)
CIE-LABlab(49.51, 41.16, -48.00)
CIE-LCHlch(49.51, 63.23, 310.61°)
OKLaboklab(58.2% 0.0881 -0.1352)
OKLCHoklch(58.2% 0.161 303.1)
XYZxyz(25.7534, 18.0152, 56.7529)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EC8 #97C85E
analogous
#5E62C8 #8F5EC8 #C45EC8
triadic
#8F5EC8 #C88F5E #5EC88F
tetradic
#8F5EC8 #C85E62 #97C85E #5EC8C4
square
#8F5EC8 #C85E62 #97C85E #5EC8C4
split-complementary
#8F5EC8 #C8C45E #62C85E
monochromatic
#532C80 #703BAE #8F5EC8 #AF8CD8 #CEB9E7

Accessibility & contrast

On white

4.56
#8F5EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8F5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EC8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EC8#FFFFFF#000000##000000
##8F5EC81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#4876C5
Tritanopia (blue-blind)
#85728A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5ec8;
/* rgb */ color: rgb(143, 94, 200);
/* oklch */ color: oklch(58.2% 0.161 303.1);
Tailwind
colors: {
  custom: {
    50: '#b38dd9',
    500: '#8f5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ec8;
$custom-light: #b38dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ec8",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 267.736,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.16134,
    "h": 303.1
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#8F5EC8
secondary
#C3D6AC
accent
#D94F99
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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