#8B2FBA#8B2FBA

#8B2FBA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.210 H 311.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8B2FBA
RGBrgb(139, 47, 186)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 73%)
CMYKcmyk(25.3%, 74.7%, 0%, 27.1%)
CIE-LABlab(39.69, 59.91, -55.66)
CIE-LCHlch(39.69, 81.78, 317.11°)
OKLaboklab(50.69% 0.1382 -0.1576)
OKLCHoklch(50.69% 0.21 311.3)
XYZxyz(20.5252, 11.0677, 47.4999)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FBA #5EBA2F
analogous
#452FBA #8B2FBA #BA2FA3
triadic
#8B2FBA #BA8B2F #2FBA8B
tetradic
#8B2FBA #BA452F #5EBA2F #2FA3BA
square
#8B2FBA #BA452F #5EBA2F #2FA3BA
split-complementary
#8B2FBA #A3BA2F #2FBA45
monochromatic
#421658 #662389 #8B2FBA #A853D3 #C184E0

Accessibility & contrast

On white

6.54
#8B2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FBA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FBA#FFFFFF#000000##FFFFFF
##8B2FBA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#854F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2fba;
/* rgb */ color: rgb(139, 47, 186);
/* oklch */ color: oklch(50.7% 0.210 311.3);
Tailwind
colors: {
  custom: {
    50: '#b271d0',
    500: '#8b2fba',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fba;
$custom-light: #b271d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fba",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 279.712,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50691,
    "c": 0.20961,
    "h": 311.3
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#8B2FBA
secondary
#96C97C
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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