#8B2FBC#8B2FBC

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

Color values

HEX#8B2FBC
RGBrgb(139, 47, 188)
HSLhsl(279, 60%, 46%)
HSVhsv(279, 75%, 74%)
CMYKcmyk(26.1%, 75%, 0%, 26.3%)
CIE-LABlab(39.84, 60.34, -56.60)
CIE-LCHlch(39.84, 82.73, 316.83°)
OKLaboklab(50.84% 0.1379 -0.1603)
OKLCHoklch(50.84% 0.211 310.7)
XYZxyz(20.7393, 11.1533, 48.6275)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FBC #60BC2F
analogous
#442FBC #8B2FBC #BC2FA6
triadic
#8B2FBC #BC8B2F #2FBC8B
tetradic
#8B2FBC #BC442F #60BC2F #2FA6BC
square
#8B2FBC #BC442F #60BC2F #2FA6BC
split-complementary
#8B2FBC #A6BC2F #2FBC44
monochromatic
#43175A #67238B #8B2FBC #A854D4 #C185E0

Accessibility & contrast

On white

6.50
#8B2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8B2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FBC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FBC#FFFFFF#000000##FFFFFF
##8B2FBC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#845074
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2fbc;
/* rgb */ color: rgb(139, 47, 188);
/* oklch */ color: oklch(50.8% 0.211 310.7);
Tailwind
colors: {
  custom: {
    50: '#b271d1',
    500: '#8b2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fbc;
$custom-light: #b271d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fbc",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 279.149,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.21148,
    "h": 310.7
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#8B2FBC
secondary
#98CA7D
accent
#E3457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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