#8B2FC5#8B2FC5

#8B2FC5 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.220 H 308.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8B2FC5
RGBrgb(139, 47, 197)
HSLhsl(277, 61%, 48%)
HSVhsv(277, 76%, 77%)
CMYKcmyk(29.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(40.50, 62.26, -60.80)
CIE-LCHlch(40.50, 87.02, 315.68°)
OKLaboklab(51.51% 0.1362 -0.1727)
OKLCHoklch(51.51% 0.22 308.3)
XYZxyz(21.7399, 11.5536, 53.8973)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FC5 #69C52F
analogous
#402FC5 #8B2FC5 #C52FB4
triadic
#8B2FC5 #C58B2F #2FC58B
tetradic
#8B2FC5 #C5402F #69C52F #2FB4C5
square
#8B2FC5 #C5402F #69C52F #2FB4C5
split-complementary
#8B2FC5 #B4C52F #2FC540
monochromatic
#451762 #682394 #8B2FC5 #A75AD8 #C18BE3

Accessibility & contrast

On white

6.34
#8B2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8B2FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FC5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FC5#FFFFFF#000000##FFFFFF
##8B2FC51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#825479
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b2fc5;
/* rgb */ color: rgb(139, 47, 197);
/* oklch */ color: oklch(51.5% 0.220 308.3);
Tailwind
colors: {
  custom: {
    50: '#b271d7',
    500: '#8b2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fc5;
$custom-light: #b271d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fc5",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 276.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.2199,
    "h": 308.3
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#8B2FC5
secondary
#9FCD82
accent
#E54382
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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