#8F54DE#8F54DE

#8F54DE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.202 H 299.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F54DE
RGBrgb(143, 84, 222)
HSLhsl(266, 68%, 60%)
HSVhsv(266, 62%, 87%)
CMYKcmyk(35.6%, 62.2%, 0%, 12.9%)
CIE-LABlab(48.83, 51.99, -61.66)
CIE-LCHlch(48.83, 80.66, 310.14°)
OKLaboklab(58.13% 0.1003 -0.1753)
OKLCHoklch(58.13% 0.202 299.8)
XYZxyz(27.6796, 17.4540, 71.0037)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54DE #A3DE54
analogous
#545EDE #8F54DE #D454DE
triadic
#8F54DE #DE8F54 #54DE8F
tetradic
#8F54DE #DE545E #A3DE54 #54DED4
square
#8F54DE #DE545E #A3DE54 #54DED4
split-complementary
#8F54DE #DED454 #5EDE54
monochromatic
#531E9A #6E28CD #8F54DE #B187E8 #D2BBF2

Accessibility & contrast

On white

4.68
#8F54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8F54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54DE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54DE#FFFFFF#000000##FFFFFF
##8F54DE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1B73DB
Tritanopia (blue-blind)
#7E7291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f54de;
/* rgb */ color: rgb(143, 84, 222);
/* oklch */ color: oklch(58.1% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#b587e9',
    500: '#8f54de',
    950: '#000000',
  },
}
SCSS
$custom: #8f54de;
$custom-light: #b587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54de",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 265.652,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.20194,
    "h": 299.8
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#8F54DE
secondary
#CBE1AC
accent
#EB3DA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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