#8B3DC7#8B3DC7

#8B3DC7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.206 H 306.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8B3DC7
RGBrgb(139, 61, 199)
HSLhsl(274, 55%, 51%)
HSVhsv(274, 69%, 78%)
CMYKcmyk(30.2%, 69.3%, 0%, 22%)
CIE-LABlab(42.69, 56.90, -58.41)
CIE-LCHlch(42.69, 81.54, 314.25°)
OKLaboklab(53.11% 0.1224 -0.1657)
OKLCHoklch(53.11% 0.206 306.5)
XYZxyz(22.6228, 12.9502, 55.3296)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DC7 #79C73D
analogous
#463DC7 #8B3DC7 #C73DBE
triadic
#8B3DC7 #C78B3D #3DC78B
tetradic
#8B3DC7 #C7463D #79C73D #3DBEC7
square
#8B3DC7 #C7463D #79C73D #3DBEC7
split-complementary
#8B3DC7 #BEC73D #3DC746
monochromatic
#4A1F6B #6B2D9A #8B3DC7 #A76CD5 #C49CE2

Accessibility & contrast

On white

5.85
#8B3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8B3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DC7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DC7#FFFFFF#000000##FFFFFF
##8B3DC71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0F65C4
Tritanopia (blue-blind)
#815C7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3dc7;
/* rgb */ color: rgb(139, 61, 199);
/* oklch */ color: oklch(53.1% 0.206 306.5);
Tailwind
colors: {
  custom: {
    50: '#b279d9',
    500: '#8b3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dc7;
$custom-light: #b279d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dc7",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 273.913,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.20607,
    "h": 306.5
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#8B3DC7
secondary
#ACCE91
accent
#DF498A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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