#8B3CBB#8B3CBB

#8B3CBB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.195 H 309.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B3CBB
RGBrgb(139, 60, 187)
HSLhsl(277, 51%, 48%)
HSVhsv(277, 68%, 73%)
CMYKcmyk(25.7%, 67.9%, 0%, 26.7%)
CIE-LABlab(41.70, 54.66, -53.00)
CIE-LCHlch(41.70, 76.14, 315.88°)
OKLaboklab(52.14% 0.1249 -0.1498)
OKLCHoklch(52.14% 0.195 309.8)
XYZxyz(21.2312, 12.3090, 48.2615)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CBB #6CBB3C
analogous
#4B3CBB #8B3CBB #BB3CAB
triadic
#8B3CBB #BB8B3C #3CBB8B
tetradic
#8B3CBB #BB4B3C #6CBB3C #3CABBB
square
#8B3CBB #BB4B3C #6CBB3C #3CABBB
split-complementary
#8B3CBB #ABBB3C #3CBB4B
monochromatic
#461E5E #692D8D #8B3CBB #A766CE #C295DD

Accessibility & contrast

On white

6.07
#8B3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8B3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CBB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CBB#FFFFFF#000000##FFFFFF
##8B3CBB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2764B8
Tritanopia (blue-blind)
#845777
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3cbb;
/* rgb */ color: rgb(139, 60, 187);
/* oklch */ color: oklch(52.1% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#b178d0',
    500: '#8b3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cbb;
$custom-light: #b178d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cbb",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 277.323,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.19507,
    "h": 309.8
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#8B3CBB
secondary
#A2C88B
accent
#DB4D83
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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