#8F4EDE#8F4EDE

#8F4EDE is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.210 H 300.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F4EDE
RGBrgb(143, 78, 222)
HSLhsl(267, 69%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(35.6%, 64.9%, 0%, 12.9%)
CIE-LABlab(47.70, 55.05, -63.48)
CIE-LCHlch(47.70, 84.02, 310.93°)
OKLaboklab(57.32% 0.107 -0.1806)
OKLCHoklch(57.32% 0.21 300.6)
XYZxyz(27.2337, 16.5622, 70.8551)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EDE #9DDE4E
analogous
#4E55DE #8F4EDE #D74EDE
triadic
#8F4EDE #DE8F4E #4EDE8F
tetradic
#8F4EDE #DE4E55 #9DDE4E #4EDED7
square
#8F4EDE #DE4E55 #9DDE4E #4EDED7
split-complementary
#8F4EDE #DED74E #55DE4E
monochromatic
#531C96 #6F26C9 #8F4EDE #B082E8 #D0B5F1

Accessibility & contrast

On white

4.87
#8F4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8F4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EDE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EDE#FFFFFF#000000##FFFFFF
##8F4EDE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#7E6E8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ede;
/* rgb */ color: rgb(143, 78, 222);
/* oklch */ color: oklch(57.3% 0.210 300.6);
Tailwind
colors: {
  custom: {
    50: '#b583e9',
    500: '#8f4ede',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ede;
$custom-light: #b583e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ede",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 267.083,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.20989,
    "h": 300.6
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#8F4EDE
secondary
#C7E0A8
accent
#EB3C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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