#8F4EDB#8F4EDB

#8F4EDB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.207 H 301.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F4EDB
RGBrgb(143, 78, 219)
HSLhsl(268, 66%, 58%)
HSVhsv(268, 64%, 86%)
CMYKcmyk(34.7%, 64.4%, 0%, 14.1%)
CIE-LABlab(47.50, 54.31, -62.11)
CIE-LCHlch(47.50, 82.50, 311.17°)
OKLaboklab(57.1% 0.1073 -0.1766)
OKLCHoklch(57.1% 0.207 301.3)
XYZxyz(26.8352, 16.4028, 68.7564)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EDB #9ADB4E
analogous
#4E53DB #8F4EDB #D64EDB
triadic
#8F4EDB #DB8F4E #4EDB8F
tetradic
#8F4EDB #DB4E53 #9ADB4E #4EDBD6
square
#8F4EDB #DB4E53 #9ADB4E #4EDBD6
split-complementary
#8F4EDB #DBD64E #53DB4E
monochromatic
#531E91 #7028C4 #8F4EDB #AF81E5 #CFB4F0

Accessibility & contrast

On white

4.91
#8F4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8F4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EDB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EDB#FFFFFF#000000##FFFFFF
##8F4EDB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0F70D8
Tritanopia (blue-blind)
#7F6D8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4edb;
/* rgb */ color: rgb(143, 78, 219);
/* oklch */ color: oklch(57.1% 0.207 301.3);
Tailwind
colors: {
  custom: {
    50: '#b583e7',
    500: '#8f4edb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4edb;
$custom-light: #b583e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4edb",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 267.66,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.20657,
    "h": 301.3
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#8F4EDB
secondary
#C5DEA6
accent
#E93F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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