#8B3DBE#8B3DBE

#8B3DBE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.5% C 0.197 H 308.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B3DBE
RGBrgb(139, 61, 190)
HSLhsl(276, 51%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(26.8%, 67.9%, 0%, 25.5%)
CIE-LABlab(42.07, 54.87, -54.17)
CIE-LCHlch(42.07, 77.10, 315.37°)
OKLaboklab(52.47% 0.1235 -0.1533)
OKLCHoklch(52.47% 0.197 308.9)
XYZxyz(21.6086, 12.5445, 49.9882)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DBE #70BE3D
analogous
#4B3DBE #8B3DBE #BE3DB1
triadic
#8B3DBE #BE8B3D #3DBE8B
tetradic
#8B3DBE #BE4B3D #70BE3D #3DB1BE
square
#8B3DBE #BE4B3D #70BE3D #3DB1BE
split-complementary
#8B3DBE #B1BE3D #3DBE4B
monochromatic
#471F61 #692E90 #8B3DBE #A769CF #C298DE

Accessibility & contrast

On white

5.98
#8B3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8B3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DBE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DBE#FFFFFF#000000##FFFFFF
##8B3DBE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#2464BB
Tritanopia (blue-blind)
#835979
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3dbe;
/* rgb */ color: rgb(139, 61, 190);
/* oklch */ color: oklch(52.5% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#b178d2',
    500: '#8b3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dbe;
$custom-light: #b178d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dbe",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 276.279,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.19684,
    "h": 308.9
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#8B3DBE
secondary
#A5C98D
accent
#DB4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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