#8F4DDE#8F4DDE

#8F4DDE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.211 H 300.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8F4DDE
RGBrgb(143, 77, 222)
HSLhsl(267, 69%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(35.6%, 65.3%, 0%, 12.9%)
CIE-LABlab(47.52, 55.54, -63.77)
CIE-LCHlch(47.52, 84.57, 311.05°)
OKLaboklab(57.18% 0.108 -0.1814)
OKLCHoklch(57.18% 0.211 300.8)
XYZxyz(27.1632, 16.4211, 70.8316)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DDE #9CDE4D
analogous
#4D53DE #8F4DDE #D74DDE
triadic
#8F4DDE #DE8F4D #4DDE8F
tetradic
#8F4DDE #DE4D53 #9CDE4D #4DDED7
square
#8F4DDE #DE4D53 #9CDE4D #4DDED7
split-complementary
#8F4DDE #DED74D #53DE4D
monochromatic
#531C95 #7025C9 #8F4DDE #AF81E8 #D0B4F1

Accessibility & contrast

On white

4.90
#8F4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4DDE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DDE#FFFFFF#000000##FFFFFF
##8F4DDE1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4dde;
/* rgb */ color: rgb(143, 77, 222);
/* oklch */ color: oklch(57.2% 0.211 300.8);
Tailwind
colors: {
  custom: {
    50: '#b583e9',
    500: '#8f4dde',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dde;
$custom-light: #b583e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dde",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 267.31,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.21118,
    "h": 300.8
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#8F4DDE
secondary
#C6E0A7
accent
#EC3C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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