#8F54DF#8F54DF

#8F54DF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.203 H 299.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8F54DF
RGBrgb(143, 84, 223)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(35.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(48.89, 52.24, -62.12)
CIE-LCHlch(48.89, 81.17, 310.06°)
OKLaboklab(58.2% 0.1002 -0.1766)
OKLCHoklch(58.2% 0.203 299.6)
XYZxyz(27.8140, 17.5077, 71.7117)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54DF #A4DF54
analogous
#545EDF #8F54DF #D554DF
triadic
#8F54DF #DF8F54 #54DF8F
tetradic
#8F54DF #DF545E #A4DF54 #54DFD5
square
#8F54DF #DF545E #A4DF54 #54DFD5
split-complementary
#8F54DF #DFD554 #5EDF54
monochromatic
#531D9C #6E27CF #8F54DF #B188E9 #D3BBF2

Accessibility & contrast

On white

4.67
#8F54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8F54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54DF#FFFFFF#000000##FFFFFF
##8F54DF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#1873DC
Tritanopia (blue-blind)
#7D7392
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f54df;
/* rgb */ color: rgb(143, 84, 223);
/* oklch */ color: oklch(58.2% 0.203 299.6);
Tailwind
colors: {
  custom: {
    50: '#b587ea',
    500: '#8f54df',
    950: '#000000',
  },
}
SCSS
$custom: #8f54df;
$custom-light: #b587ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54df",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 265.468,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.20308,
    "h": 299.6
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#8F54DF
secondary
#CBE2AD
accent
#D01581
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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