#8B3DC2#8B3DC2

#8B3DC2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.201 H 307.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B3DC2
RGBrgb(139, 61, 194)
HSLhsl(275, 52%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.4%, 68.6%, 0%, 23.9%)
CIE-LABlab(42.34, 55.77, -56.07)
CIE-LCHlch(42.34, 79.08, 314.85°)
OKLaboklab(52.75% 0.1231 -0.1588)
OKLCHoklch(52.75% 0.201 307.8)
XYZxyz(22.0518, 12.7218, 52.3223)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DC2 #74C23D
analogous
#483DC2 #8B3DC2 #C23DB7
triadic
#8B3DC2 #C28B3D #3DC28B
tetradic
#8B3DC2 #C2483D #74C23D #3DB7C2
square
#8B3DC2 #C2483D #74C23D #3DB7C2
split-complementary
#8B3DC2 #B7C23D #3DC248
monochromatic
#482065 #6A2E93 #8B3DC2 #A76CD1 #C39ADF

Accessibility & contrast

On white

5.93
#8B3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DC2#FFFFFF#000000##FFFFFF
##8B3DC21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#825A7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3dc2;
/* rgb */ color: rgb(139, 61, 194);
/* oklch */ color: oklch(52.8% 0.201 307.8);
Tailwind
colors: {
  custom: {
    50: '#b178d5',
    500: '#8b3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dc2;
$custom-light: #b178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dc2",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 275.188,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.20094,
    "h": 307.8
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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