#8B2FCC#8B2FCC

#8B2FCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.226 H 306.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B2FCC
RGBrgb(139, 47, 204)
HSLhsl(275, 63%, 49%)
HSVhsv(275, 77%, 80%)
CMYKcmyk(31.9%, 77%, 0%, 20%)
CIE-LABlab(41.03, 63.77, -64.01)
CIE-LCHlch(41.03, 90.35, 314.89°)
OKLaboklab(52.05% 0.1346 -0.1821)
OKLCHoklch(52.05% 0.226 306.5)
XYZxyz(22.5607, 11.8819, 58.2199)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FCC #70CC2F
analogous
#3C2FCC #8B2FCC #CC2FBF
triadic
#8B2FCC #CC8B2F #2FCC8B
tetradic
#8B2FCC #CC3C2F #70CC2F #2FBFCC
square
#8B2FCC #CC3C2F #70CC2F #2FBFCC
split-complementary
#8B2FCC #BFCC2F #2FCC3C
monochromatic
#471869 #69249A #8B2FCC #A75EDA #C290E5

Accessibility & contrast

On white

6.22
#8B2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B2FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FCC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FCC#FFFFFF#000000##FFFFFF
##8B2FCC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#7F577D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b2fcc;
/* rgb */ color: rgb(139, 47, 204);
/* oklch */ color: oklch(52.0% 0.226 306.5);
Tailwind
colors: {
  custom: {
    50: '#b372dd',
    500: '#8b2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fcc;
$custom-light: #b372dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fcc",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 275.159,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.22648,
    "h": 306.5
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#8B2FCC
secondary
#A5D087
accent
#E64286
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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