#8B2FBD#8B2FBD

#8B2FBD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.212 H 310.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8B2FBD
RGBrgb(139, 47, 189)
HSLhsl(279, 60%, 46%)
HSVhsv(279, 75%, 74%)
CMYKcmyk(26.5%, 75.1%, 0%, 25.9%)
CIE-LABlab(39.91, 60.55, -57.07)
CIE-LCHlch(39.91, 83.21, 316.69°)
OKLaboklab(50.91% 0.1377 -0.1617)
OKLCHoklch(50.91% 0.212 310.4)
XYZxyz(20.8475, 11.1966, 49.1972)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FBD #61BD2F
analogous
#442FBD #8B2FBD #BD2FA8
triadic
#8B2FBD #BD8B2F #2FBD8B
tetradic
#8B2FBD #BD442F #61BD2F #2FA8BD
square
#8B2FBD #BD442F #61BD2F #2FA8BD
split-complementary
#8B2FBD #A8BD2F #2FBD44
monochromatic
#43175B #67238C #8B2FBD #A855D5 #C186E1

Accessibility & contrast

On white

6.48
#8B2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8B2FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FBD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FBD#FFFFFF#000000##FFFFFF
##8B2FBD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#845174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b2fbd;
/* rgb */ color: rgb(139, 47, 189);
/* oklch */ color: oklch(50.9% 0.212 310.4);
Tailwind
colors: {
  custom: {
    50: '#b271d2',
    500: '#8b2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fbd;
$custom-light: #b271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fbd",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 278.873,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.21241,
    "h": 310.4
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#8B2FBD
secondary
#99CA7E
accent
#E3447C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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