#8B3DCE#8B3DCE

#8B3DCE is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.213 H 304.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8B3DCE
RGBrgb(139, 61, 206)
HSLhsl(272, 60%, 52%)
HSVhsv(272, 70%, 81%)
CMYKcmyk(32.5%, 70.4%, 0%, 19.2%)
CIE-LABlab(43.19, 58.50, -61.66)
CIE-LCHlch(43.19, 85.00, 313.50°)
OKLaboklab(53.62% 0.1214 -0.1753)
OKLCHoklch(53.62% 0.213 304.7)
XYZxyz(23.4543, 13.2828, 59.7088)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DCE #80CE3D
analogous
#433DCE #8B3DCE #CE3DC8
triadic
#8B3DCE #CE8B3D #3DCE8B
tetradic
#8B3DCE #CE433D #80CE3D #3DC8CE
square
#8B3DCE #CE433D #80CE3D #3DC8CE
split-complementary
#8B3DCE #C8CE3D #3DCE43
monochromatic
#4C1D73 #6C29A4 #8B3DCE #A86EDA #C59FE7

Accessibility & contrast

On white

5.74
#8B3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DCE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DCE#FFFFFF#000000##FFFFFF
##8B3DCE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#7E5F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3dce;
/* rgb */ color: rgb(139, 61, 206);
/* oklch */ color: oklch(53.6% 0.213 304.7);
Tailwind
colors: {
  custom: {
    50: '#b279de',
    500: '#8b3dce',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dce;
$custom-light: #b279de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dce",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 272.276,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.21324,
    "h": 304.7
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#8B3DCE
secondary
#B1D394
accent
#E3458E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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