#8B2CBB#8B2CBB

#8B2CBB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.214 H 311.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B2CBB
RGBrgb(139, 44, 187)
HSLhsl(280, 62%, 45%)
HSVhsv(280, 76%, 73%)
CMYKcmyk(25.7%, 76.5%, 0%, 26.7%)
CIE-LABlab(39.38, 61.24, -56.76)
CIE-LCHlch(39.38, 83.50, 317.17°)
OKLaboklab(50.49% 0.1407 -0.1608)
OKLCHoklch(50.49% 0.214 311.2)
XYZxyz(20.5161, 10.8787, 48.0231)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CBB #5CBB2C
analogous
#432CBB #8B2CBB #BB2CA4
triadic
#8B2CBB #BB8B2C #2CBB8B
tetradic
#8B2CBB #BB432C #5CBB2C #2CA4BB
square
#8B2CBB #BB432C #5CBB2C #2CA4BB
split-complementary
#8B2CBB #A4BB2C #2CBB43
monochromatic
#411558 #662089 #8B2CBB #A84FD6 #C180E1

Accessibility & contrast

On white

6.61
#8B2CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8B2CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CBB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CBB#FFFFFF#000000##FFFFFF
##8B2CBB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0B5EB8
Tritanopia (blue-blind)
#854E72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2cbb;
/* rgb */ color: rgb(139, 44, 187);
/* oklch */ color: oklch(50.5% 0.214 311.2);
Tailwind
colors: {
  custom: {
    50: '#b270d0',
    500: '#8b2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cbb;
$custom-light: #b270d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cbb",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 279.86,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.21369,
    "h": 311.2
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#8B2CBB
secondary
#94CA79
accent
#E54379
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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