#8B4FCA#8B4FCA

#8B4FCA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.185 H 303.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8B4FCA
RGBrgb(139, 79, 202)
HSLhsl(269, 54%, 55%)
HSVhsv(269, 61%, 79%)
CMYKcmyk(31.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(46.10, 48.79, -54.64)
CIE-LCHlch(46.10, 73.25, 311.76°)
OKLaboklab(55.63% 0.1019 -0.1547)
OKLCHoklch(55.63% 0.185 303.4)
XYZxyz(24.1017, 15.3452, 57.5579)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FCA #8ECA4F
analogous
#4F51CA #8B4FCA #C84FCA
triadic
#8B4FCA #CA8B4F #4FCA8B
tetradic
#8B4FCA #CA4F51 #8ECA4F #4FCAC8
square
#8B4FCA #CA4F51 #8ECA4F #4FCAC8
split-complementary
#8B4FCA #CAC84F #51CA4F
monochromatic
#4E257A #6C33A9 #8B4FCA #AA7ED8 #C9ADE6

Accessibility & contrast

On white

5.16
#8B4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8B4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FCA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FCA#FFFFFF#000000##FFFFFF
##8B4FCA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#7F6885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4fca;
/* rgb */ color: rgb(139, 79, 202);
/* oklch */ color: oklch(55.6% 0.185 303.4);
Tailwind
colors: {
  custom: {
    50: '#b183db',
    500: '#8b4fca',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fca;
$custom-light: #b183db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fca",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 269.268,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.18528,
    "h": 303.4
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#8B4FCA
secondary
#BBD4A1
accent
#DD4B96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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