#8F54E1#8F54E1

#8F54E1 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.205 H 299.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F54E1
RGBrgb(143, 84, 225)
HSLhsl(265, 70%, 61%)
HSVhsv(265, 63%, 88%)
CMYKcmyk(36.4%, 62.7%, 0%, 11.8%)
CIE-LABlab(49.03, 52.74, -63.04)
CIE-LCHlch(49.03, 82.19, 309.92°)
OKLaboklab(58.34% 0.1001 -0.1793)
OKLCHoklch(58.34% 0.205 299.2)
XYZxyz(28.0853, 17.6162, 73.1402)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54E1 #A6E154
analogous
#5460E1 #8F54E1 #D554E1
triadic
#8F54E1 #E18F54 #54E18F
tetradic
#8F54E1 #E15460 #A6E154 #54E1D5
square
#8F54E1 #E15460 #A6E154 #54E1D5
split-complementary
#8F54E1 #E1D554 #60E154
monochromatic
#531C9F #6E25D3 #8F54E1 #B188EA #D3BCF3

Accessibility & contrast

On white

4.64
#8F54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F54E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54E1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54E1#FFFFFF#000000##FFFFFF
##8F54E11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#1173DE
Tritanopia (blue-blind)
#7D7393
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f54e1;
/* rgb */ color: rgb(143, 84, 225);
/* oklch */ color: oklch(58.3% 0.205 299.2);
Tailwind
colors: {
  custom: {
    50: '#b587eb',
    500: '#8f54e1',
    950: '#000000',
  },
}
SCSS
$custom: #8f54e1;
$custom-light: #b587eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54e1",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 265.106,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.20537,
    "h": 299.2
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#8F54E1
secondary
#CDE3AE
accent
#D21382
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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