#8B3FB2#8B3FB2

#8B3FB2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.182 H 312.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8B3FB2
RGBrgb(139, 63, 178)
HSLhsl(280, 48%, 47%)
HSVhsv(280, 65%, 70%)
CMYKcmyk(21.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(41.62, 51.27, -47.83)
CIE-LCHlch(41.62, 70.12, 316.99°)
OKLaboklab(51.9% 0.1221 -0.1347)
OKLCHoklch(51.9% 0.182 312.2)
XYZxyz(20.4594, 12.2589, 43.3993)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FB2 #66B23F
analogous
#513FB2 #8B3FB2 #B23FA0
triadic
#8B3FB2 #B28B3F #3FB28B
tetradic
#8B3FB2 #B2513F #66B23F #3FA0B2
square
#8B3FB2 #B2513F #66B23F #3FA0B2
split-complementary
#8B3FB2 #A0B23F #3FB251
monochromatic
#441F58 #682F85 #8B3FB2 #A766C9 #C193D9

Accessibility & contrast

On white

6.08
#8B3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8B3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FB2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FB2#FFFFFF#000000##FFFFFF
##8B3FB21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#875573
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3fb2;
/* rgb */ color: rgb(139, 63, 178);
/* oklch */ color: oklch(51.9% 0.182 312.2);
Tailwind
colors: {
  custom: {
    50: '#b079ca',
    500: '#8b3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fb2;
$custom-light: #b079ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fb2",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 279.652,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.1818,
    "h": 312.2
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#8B3FB2
secondary
#9DC489
accent
#D7507E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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