#8B3CBD#8B3CBD

#8B3CBD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.197 H 309.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8B3CBD
RGBrgb(139, 60, 189)
HSLhsl(277, 52%, 49%)
HSVhsv(277, 68%, 74%)
CMYKcmyk(26.5%, 68.3%, 0%, 25.9%)
CIE-LABlab(41.84, 55.10, -53.96)
CIE-LCHlch(41.84, 77.12, 315.60°)
OKLaboklab(52.28% 0.1247 -0.1527)
OKLCHoklch(52.28% 0.197 309.2)
XYZxyz(21.4468, 12.3952, 49.3970)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CBD #6EBD3C
analogous
#4B3CBD #8B3CBD #BD3CAF
triadic
#8B3CBD #BD8B3C #3CBD8B
tetradic
#8B3CBD #BD4B3C #6EBD3C #3CAFBD
square
#8B3CBD #BD4B3C #6EBD3C #3CAFBD
split-complementary
#8B3CBD #AFBD3C #3CBD4B
monochromatic
#471F60 #692D8F #8B3CBD #A767CF #C296DE

Accessibility & contrast

On white

6.04
#8B3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8B3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CBD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CBD#FFFFFF#000000##FFFFFF
##8B3CBD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#845878
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3cbd;
/* rgb */ color: rgb(139, 60, 189);
/* oklch */ color: oklch(52.3% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#b178d2',
    500: '#8b3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cbd;
$custom-light: #b178d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cbd",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 276.744,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.19711,
    "h": 309.2
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#8B3CBD
secondary
#A4C98C
accent
#DB4D84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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