#8F54CD#8F54CD

#8F54CD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.182 H 303.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F54CD
RGBrgb(143, 84, 205)
HSLhsl(269, 55%, 57%)
HSVhsv(269, 59%, 80%)
CMYKcmyk(30.2%, 59%, 0%, 19.6%)
CIE-LABlab(47.74, 47.82, -53.72)
CIE-LCHlch(47.74, 71.92, 311.67°)
OKLaboklab(56.99% 0.101 -0.1519)
OKLCHoklch(56.99% 0.182 303.6)
XYZxyz(25.5150, 16.5881, 59.6034)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54CD #92CD54
analogous
#5456CD #8F54CD #CB54CD
triadic
#8F54CD #CD8F54 #54CD8F
tetradic
#8F54CD #CD5456 #92CD54 #54CDCB
square
#8F54CD #CD5456 #92CD54 #54CDCB
split-complementary
#8F54CD #CDCB54 #56CD54
monochromatic
#522681 #7034B0 #8F54CD #AE83DB #CDB3E9

Accessibility & contrast

On white

4.86
#8F54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54CD#FFFFFF#000000##FFFFFF
##8F54CD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#846C88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f54cd;
/* rgb */ color: rgb(143, 84, 205);
/* oklch */ color: oklch(57.0% 0.182 303.6);
Tailwind
colors: {
  custom: {
    50: '#b387dd',
    500: '#8f54cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f54cd;
$custom-light: #b387dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54cd",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 269.256,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.18241,
    "h": 303.6
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#8F54CD
secondary
#BFD7A6
accent
#DE4A96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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