#8B2EBD#8B2EBD

#8B2EBD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.213 H 310.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8B2EBD
RGBrgb(139, 46, 189)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 74%)
CMYKcmyk(26.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(39.78, 60.93, -57.29)
CIE-LCHlch(39.78, 83.63, 316.76°)
OKLaboklab(50.82% 0.1386 -0.1623)
OKLCHoklch(50.82% 0.213 310.5)
XYZxyz(20.8080, 11.1176, 49.1840)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EBD #60BD2E
analogous
#432EBD #8B2EBD #BD2EA7
triadic
#8B2EBD #BD8B2E #2EBD8B
tetradic
#8B2EBD #BD432E #60BD2E #2EA7BD
square
#8B2EBD #BD432E #60BD2E #2EA7BD
split-complementary
#8B2EBD #A7BD2E #2EBD43
monochromatic
#43165B #67228C #8B2EBD #A853D5 #C184E1

Accessibility & contrast

On white

6.51
#8B2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EBD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EBD#FFFFFF#000000##FFFFFF
##8B2EBD1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#085FBA
Tritanopia (blue-blind)
#845074
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2ebd;
/* rgb */ color: rgb(139, 46, 189);
/* oklch */ color: oklch(50.8% 0.213 310.5);
Tailwind
colors: {
  custom: {
    50: '#b271d2',
    500: '#8b2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ebd;
$custom-light: #b271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ebd",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 279.021,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.21347,
    "h": 310.5
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#8B2EBD
secondary
#98CA7C
accent
#E4447C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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