#8B2EBC#8B2EBC

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

Color values

HEX#8B2EBC
RGBrgb(139, 46, 188)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 74%)
CMYKcmyk(26.1%, 75.5%, 0%, 26.3%)
CIE-LABlab(39.71, 60.71, -56.82)
CIE-LCHlch(39.71, 83.15, 316.90°)
OKLaboklab(50.74% 0.1388 -0.161)
OKLCHoklch(50.74% 0.213 310.8)
XYZxyz(20.6998, 11.0743, 48.6143)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EBC #5FBC2E
analogous
#442EBC #8B2EBC #BC2EA6
triadic
#8B2EBC #BC8B2E #2EBC8B
tetradic
#8B2EBC #BC442E #5FBC2E #2EA6BC
square
#8B2EBC #BC442E #5FBC2E #2EA6BC
split-complementary
#8B2EBC #A6BC2E #2EBC44
monochromatic
#42165A #67228B #8B2EBC #A852D5 #C184E1

Accessibility & contrast

On white

6.53
#8B2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EBC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EBC#FFFFFF#000000##FFFFFF
##8B2EBC1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#845073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2ebc;
/* rgb */ color: rgb(139, 46, 188);
/* oklch */ color: oklch(50.7% 0.213 310.8);
Tailwind
colors: {
  custom: {
    50: '#b271d1',
    500: '#8b2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ebc;
$custom-light: #b271d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ebc",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 279.296,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.21254,
    "h": 310.8
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#8B2EBC
secondary
#97CA7C
accent
#E4447B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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