#8F4EBD#8F4EBD

#8F4EBD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.173 H 308.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F4EBD
RGBrgb(143, 78, 189)
HSLhsl(275, 46%, 52%)
HSVhsv(275, 59%, 74%)
CMYKcmyk(24.3%, 58.7%, 0%, 25.9%)
CIE-LABlab(45.58, 47.19, -47.91)
CIE-LCHlch(45.58, 67.25, 314.57°)
OKLaboklab(55.1% 0.1085 -0.1349)
OKLCHoklch(55.1% 0.173 308.8)
XYZxyz(23.2356, 14.9629, 49.7983)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EBD #7CBD4E
analogous
#574EBD #8F4EBD #BD4EB4
triadic
#8F4EBD #BD8F4E #4EBD8F
tetradic
#8F4EBD #BD574E #7CBD4E #4EB4BD
square
#8F4EBD #BD574E #7CBD4E #4EB4BD
split-complementary
#8F4EBD #B4BD4E #4EBD57
monochromatic
#4E2769 #6F3896 #8F4EBD #AB7BCE #C7A7DE

Accessibility & contrast

On white

5.26
#8F4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EBD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EBD#FFFFFF#000000##FFFFFF
##8F4EBD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C1
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#88637E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4ebd;
/* rgb */ color: rgb(143, 78, 189);
/* oklch */ color: oklch(55.1% 0.173 308.8);
Tailwind
colors: {
  custom: {
    50: '#b383d1',
    500: '#8f4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ebd;
$custom-light: #b383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ebd",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 275.135,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.17311,
    "h": 308.8
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#8F4EBD
secondary
#AFCC9B
accent
#D55289
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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