#8B2DBB#8B2DBB

#8B2DBB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.213 H 311.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2DBB
RGBrgb(139, 45, 187)
HSLhsl(280, 61%, 45%)
HSVhsv(280, 76%, 73%)
CMYKcmyk(25.7%, 75.9%, 0%, 26.7%)
CIE-LABlab(39.50, 60.88, -56.56)
CIE-LCHlch(39.50, 83.10, 317.11°)
OKLaboklab(50.58% 0.1399 -0.1602)
OKLCHoklch(50.58% 0.213 311.1)
XYZxyz(20.5538, 10.9541, 48.0357)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DBB #5DBB2D
analogous
#442DBB #8B2DBB #BB2DA4
triadic
#8B2DBB #BB8B2D #2DBB8B
tetradic
#8B2DBB #BB442D #5DBB2D #2DA4BB
square
#8B2DBB #BB442D #5DBB2D #2DA4BB
split-complementary
#8B2DBB #A4BB2D #2DBB44
monochromatic
#421558 #66218A #8B2DBB #A850D5 #C182E1

Accessibility & contrast

On white

6.58
#8B2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8B2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DBB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DBB#FFFFFF#000000##FFFFFF
##8B2DBB1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0D5FB8
Tritanopia (blue-blind)
#854F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2dbb;
/* rgb */ color: rgb(139, 45, 187);
/* oklch */ color: oklch(50.6% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#b270d0',
    500: '#8b2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dbb;
$custom-light: #b270d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dbb",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 279.718,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.21266,
    "h": 311.1
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#8B2DBB
secondary
#95CA7A
accent
#E4437A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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