#8B3DCC#8B3DCC

#8B3DCC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.211 H 305.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8B3DCC
RGBrgb(139, 61, 204)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(31.9%, 70.1%, 0%, 20%)
CIE-LABlab(43.04, 58.04, -60.74)
CIE-LCHlch(43.04, 84.01, 313.70°)
OKLaboklab(53.47% 0.1217 -0.1726)
OKLCHoklch(53.47% 0.211 305.2)
XYZxyz(23.2129, 13.1862, 58.4373)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DCC #7ECC3D
analogous
#443DCC #8B3DCC #CC3DC6
triadic
#8B3DCC #CC8B3D #3DCC8B
tetradic
#8B3DCC #CC443D #7ECC3D #3DC6CC
square
#8B3DCC #CC443D #7ECC3D #3DC6CC
split-complementary
#8B3DCC #C6CC3D #3DCC44
monochromatic
#4B1E71 #6B2AA1 #8B3DCC #A86DD9 #C59EE5

Accessibility & contrast

On white

5.77
#8B3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8B3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DCC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DCC#FFFFFF#000000##FFFFFF
##8B3DCC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#7F5E80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3dcc;
/* rgb */ color: rgb(139, 61, 204);
/* oklch */ color: oklch(53.5% 0.211 305.2);
Tailwind
colors: {
  custom: {
    50: '#b279dc',
    500: '#8b3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dcc;
$custom-light: #b279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dcc",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 272.727,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.21119,
    "h": 305.2
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#8B3DCC
secondary
#B0D293
accent
#E2468D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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