#8F54CA#8F54CA

#8F54CA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.179 H 304.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8F54CA
RGBrgb(143, 84, 202)
HSLhsl(270, 53%, 56%)
HSVhsv(270, 58%, 79%)
CMYKcmyk(29.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.55, 47.09, -52.29)
CIE-LCHlch(47.55, 70.37, 312.01°)
OKLaboklab(56.79% 0.101 -0.1477)
OKLCHoklch(56.79% 0.179 304.4)
XYZxyz(25.1563, 16.4447, 57.7145)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54CA #8FCA54
analogous
#5454CA #8F54CA #CA54CA
triadic
#8F54CA #CA8F54 #54CA8F
tetradic
#8F54CA #CA5454 #8FCA54 #54CACA
square
#8F54CA #CA5454 #8FCA54 #54CACA
split-complementary
#8F54CA #CACA54 #54CA54
monochromatic
#52277D #7035AC #8F54CA #AE83D8 #CCB1E7

Accessibility & contrast

On white

4.90
#8F54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54CA#FFFFFF#000000##FFFFFF
##8F54CA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#846B87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f54ca;
/* rgb */ color: rgb(143, 84, 202);
/* oklch */ color: oklch(56.8% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#b387db',
    500: '#8f54ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f54ca;
$custom-light: #b387db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54ca",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.17894,
    "h": 304.4
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#8F54CA
secondary
#BDD5A5
accent
#DC4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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