#8B3FD2#8B3FD2

#8B3FD2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.215 H 303.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B3FD2
RGBrgb(139, 63, 210)
HSLhsl(271, 62%, 54%)
HSVhsv(271, 70%, 82%)
CMYKcmyk(33.8%, 70%, 0%, 17.6%)
CIE-LABlab(43.80, 58.53, -62.97)
CIE-LCHlch(43.80, 85.98, 312.91°)
OKLaboklab(54.14% 0.1188 -0.1792)
OKLCHoklch(54.14% 0.215 303.5)
XYZxyz(24.0551, 13.6972, 62.3368)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FD2 #86D23F
analogous
#413FD2 #8B3FD2 #D23FD0
triadic
#8B3FD2 #D28B3F #3FD28B
tetradic
#8B3FD2 #D2413F #86D23F #3FD0D2
square
#8B3FD2 #D2413F #86D23F #3FD0D2
split-complementary
#8B3FD2 #D0D23F #3FD241
monochromatic
#4D1D7A #6C28AC #8B3FD2 #A971DE #C7A2E9

Accessibility & contrast

On white

5.62
#8B3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8B3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FD2#FFFFFF#000000##FFFFFF
##8B3FD21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#7D6284
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3fd2;
/* rgb */ color: rgb(139, 63, 210);
/* oklch */ color: oklch(54.1% 0.215 303.5);
Tailwind
colors: {
  custom: {
    50: '#b27ae1',
    500: '#8b3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fd2;
$custom-light: #b27ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fd2",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 271.02,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.21498,
    "h": 303.5
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#8B3FD2
secondary
#B5D697
accent
#E54391
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8B3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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