#8B3CD5#8B3CD5

#8B3CD5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.222 H 303.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8B3CD5
RGBrgb(139, 60, 213)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 72%, 84%)
CMYKcmyk(34.7%, 71.8%, 0%, 16.5%)
CIE-LABlab(43.54, 60.56, -65.11)
CIE-LCHlch(43.54, 88.92, 312.93°)
OKLaboklab(54.03% 0.1212 -0.1854)
OKLCHoklch(54.03% 0.222 303.2)
XYZxyz(24.2707, 13.5248, 64.2698)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CD5 #86D53C
analogous
#3E3CD5 #8B3CD5 #D53CD3
triadic
#8B3CD5 #D58B3C #3CD58B
tetradic
#8B3CD5 #D53E3C #86D53C #3CD3D5
square
#8B3CD5 #D53E3C #86D53C #3CD3D5
split-complementary
#8B3CD5 #D3D53C #3CD53E
monochromatic
#4D1B7C #6C26AE #8B3CD5 #A96EE0 #C7A1EB

Accessibility & contrast

On white

5.67
#8B3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8B3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CD5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CD5#FFFFFF#000000##FFFFFF
##8B3CD51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#7C6185
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3cd5;
/* rgb */ color: rgb(139, 60, 213);
/* oklch */ color: oklch(54.0% 0.222 303.2);
Tailwind
colors: {
  custom: {
    50: '#b379e3',
    500: '#8b3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cd5;
$custom-light: #b379e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cd5",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 270.98,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.22153,
    "h": 303.2
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#8B3CD5
secondary
#B5D796
accent
#E84091
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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