#8B4FCB#8B4FCB

#8B4FCB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.186 H 303.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B4FCB
RGBrgb(139, 79, 203)
HSLhsl(269, 54%, 55%)
HSVhsv(269, 61%, 80%)
CMYKcmyk(31.5%, 61.1%, 0%, 20.4%)
CIE-LABlab(46.17, 49.03, -55.11)
CIE-LCHlch(46.17, 73.77, 311.66°)
OKLaboklab(55.7% 0.1019 -0.1561)
OKLCHoklch(55.7% 0.186 303.1)
XYZxyz(24.2205, 15.3927, 58.1834)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FCB #8FCB4F
analogous
#4F51CB #8B4FCB #C94FCB
triadic
#8B4FCB #CB8B4F #4FCB8B
tetradic
#8B4FCB #CB4F51 #8FCB4F #4FCBC9
square
#8B4FCB #CB4F51 #8FCB4F #4FCBC9
split-complementary
#8B4FCB #CBC94F #51CB4F
monochromatic
#4E247B #6C32AA #8B4FCB #AA7ED9 #C9ADE7

Accessibility & contrast

On white

5.15
#8B4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FCB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FCB#FFFFFF#000000##FFFFFF
##8B4FCB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#7F6986
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4fcb;
/* rgb */ color: rgb(139, 79, 203);
/* oklch */ color: oklch(55.7% 0.186 303.1);
Tailwind
colors: {
  custom: {
    50: '#b183db',
    500: '#8b4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fcb;
$custom-light: #b183db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fcb",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 269.032,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.18642,
    "h": 303.1
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#8B4FCB
secondary
#BCD5A1
accent
#DE4A96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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