#8B3DC3#8B3DC3

#8B3DC3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.202 H 307.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8B3DC3
RGBrgb(139, 61, 195)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.7%, 68.7%, 0%, 23.5%)
CIE-LABlab(42.41, 55.99, -56.54)
CIE-LCHlch(42.41, 79.57, 314.72°)
OKLaboklab(52.82% 0.1229 -0.1602)
OKLCHoklch(52.82% 0.202 307.5)
XYZxyz(22.1645, 12.7669, 52.9158)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DC3 #75C33D
analogous
#483DC3 #8B3DC3 #C33DB8
triadic
#8B3DC3 #C38B3D #3DC38B
tetradic
#8B3DC3 #C3483D #75C33D #3DB8C3
square
#8B3DC3 #C3483D #75C33D #3DB8C3
split-complementary
#8B3DC3 #B8C33D #3DC348
monochromatic
#492066 #6A2E95 #8B3DC3 #A76CD1 #C39AE0

Accessibility & contrast

On white

5.91
#8B3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DC3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DC3#FFFFFF#000000##FFFFFF
##8B3DC31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1A65C0
Tritanopia (blue-blind)
#825B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3dc3;
/* rgb */ color: rgb(139, 61, 195);
/* oklch */ color: oklch(52.8% 0.202 307.5);
Tailwind
colors: {
  custom: {
    50: '#b178d6',
    500: '#8b3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dc3;
$custom-light: #b178d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dc3",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 274.925,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.20197,
    "h": 307.5
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#8B3DC3
secondary
#A9CC90
accent
#DC4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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