#8B3CB7#8B3CB7

#8B3CB7 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.191 H 311.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8B3CB7
RGBrgb(139, 60, 183)
HSLhsl(279, 51%, 48%)
HSVhsv(279, 67%, 72%)
CMYKcmyk(24%, 67.2%, 0%, 28.2%)
CIE-LABlab(41.44, 53.77, -51.08)
CIE-LCHlch(41.44, 74.17, 316.47°)
OKLaboklab(51.87% 0.1253 -0.1442)
OKLCHoklch(51.87% 0.191 311)
XYZxyz(20.8090, 12.1401, 46.0376)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CB7 #68B73C
analogous
#4E3CB7 #8B3CB7 #B73CA5
triadic
#8B3CB7 #B78B3C #3CB78B
tetradic
#8B3CB7 #B74E3C #68B73C #3CA5B7
square
#8B3CB7 #B74E3C #68B73C #3CA5B7
split-complementary
#8B3CB7 #A5B73C #3CB74E
monochromatic
#451E5B #682D89 #8B3CB7 #A764CC #C192DB

Accessibility & contrast

On white

6.13
#8B3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CB7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CB7#FFFFFF#000000##FFFFFF
##8B3CB71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#855575
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3cb7;
/* rgb */ color: rgb(139, 60, 183);
/* oklch */ color: oklch(51.9% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#b177cd',
    500: '#8b3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cb7;
$custom-light: #b177cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cb7",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 278.537,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.19101,
    "h": 311
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#8B3CB7
secondary
#9FC688
accent
#DA4E80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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