#8F4DDF#8F4DDF

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

Color values

HEX#8F4DDF
RGBrgb(143, 77, 223)
HSLhsl(267, 70%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(35.9%, 65.5%, 0%, 12.5%)
CIE-LABlab(47.59, 55.79, -64.23)
CIE-LCHlch(47.59, 85.07, 310.98°)
OKLaboklab(57.26% 0.1079 -0.1828)
OKLCHoklch(57.26% 0.212 300.6)
XYZxyz(27.2976, 16.4749, 71.5396)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DDF #9DDF4D
analogous
#4D54DF #8F4DDF #D84DDF
triadic
#8F4DDF #DF8F4D #4DDF8F
tetradic
#8F4DDF #DF4D54 #9DDF4D #4DDFD8
square
#8F4DDF #DF4D54 #9DDF4D #4DDFD8
split-complementary
#8F4DDF #DFD84D #54DF4D
monochromatic
#531B97 #6F24CA #8F4DDF #B081E8 #D0B5F2

Accessibility & contrast

On white

4.89
#8F4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8F4DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DDF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DDF#FFFFFF#000000##FFFFFF
##8F4DDF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#7E6E90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ddf;
/* rgb */ color: rgb(143, 77, 223);
/* oklch */ color: oklch(57.3% 0.212 300.6);
Tailwind
colors: {
  custom: {
    50: '#b583ea',
    500: '#8f4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ddf;
$custom-light: #b583ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ddf",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 267.123,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.21228,
    "h": 300.6
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#8F4DDF
secondary
#C7E1A7
accent
#EC3B9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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