#8B3FD1#8B3FD1

#8B3FD1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.214 H 303.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8B3FD1
RGBrgb(139, 63, 209)
HSLhsl(271, 61%, 53%)
HSVhsv(271, 70%, 82%)
CMYKcmyk(33.5%, 69.9%, 0%, 18%)
CIE-LABlab(43.72, 58.30, -62.52)
CIE-LCHlch(43.72, 85.48, 313.00°)
OKLaboklab(54.07% 0.119 -0.1778)
OKLCHoklch(54.07% 0.214 303.8)
XYZxyz(23.9309, 13.6475, 61.6827)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FD1 #85D13F
analogous
#423FD1 #8B3FD1 #D13FCE
triadic
#8B3FD1 #D18B3F #3FD18B
tetradic
#8B3FD1 #D1423F #85D13F #3FCED1
square
#8B3FD1 #D1423F #85D13F #3FCED1
split-complementary
#8B3FD1 #CED13F #3FD142
monochromatic
#4D1D79 #6C29AA #8B3FD1 #A970DD #C7A2E9

Accessibility & contrast

On white

5.63
#8B3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8B3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FD1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FD1#FFFFFF#000000##FFFFFF
##8B3FD11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#7D6184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3fd1;
/* rgb */ color: rgb(139, 63, 209);
/* oklch */ color: oklch(54.1% 0.214 303.8);
Tailwind
colors: {
  custom: {
    50: '#b27ae0',
    500: '#8b3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fd1;
$custom-light: #b27ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fd1",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 271.233,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.21395,
    "h": 303.8
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#8B3FD1
secondary
#B5D597
accent
#E44391
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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