#8B2FBB#8B2FBB

#8B2FBB is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.211 H 311.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8B2FBB
RGBrgb(139, 47, 187)
HSLhsl(279, 60%, 46%)
HSVhsv(279, 75%, 73%)
CMYKcmyk(25.7%, 74.9%, 0%, 26.7%)
CIE-LABlab(39.77, 60.13, -56.13)
CIE-LCHlch(39.77, 82.25, 316.97°)
OKLaboklab(50.76% 0.1381 -0.159)
OKLCHoklch(50.76% 0.211 311)
XYZxyz(20.6319, 11.1104, 48.0617)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FBB #5FBB2F
analogous
#452FBB #8B2FBB #BB2FA5
triadic
#8B2FBB #BB8B2F #2FBB8B
tetradic
#8B2FBB #BB452F #5FBB2F #2FA5BB
square
#8B2FBB #BB452F #5FBB2F #2FA5BB
split-complementary
#8B2FBB #A5BB2F #2FBB45
monochromatic
#421659 #67238A #8B2FBB #A853D4 #C184E0

Accessibility & contrast

On white

6.52
#8B2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FBB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FBB#FFFFFF#000000##FFFFFF
##8B2FBB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#855073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2fbb;
/* rgb */ color: rgb(139, 47, 187);
/* oklch */ color: oklch(50.8% 0.211 311.0);
Tailwind
colors: {
  custom: {
    50: '#b271d0',
    500: '#8b2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fbb;
$custom-light: #b271d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fbb",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 279.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.21054,
    "h": 311
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#8B2FBB
secondary
#97C97C
accent
#E3457B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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