#8B2F9F#8B2F9F

#8B2F9F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.185 H 319.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8B2F9F
RGBrgb(139, 47, 159)
HSLhsl(289, 54%, 40%)
HSVhsv(289, 70%, 62%)
CMYKcmyk(12.6%, 70.4%, 0%, 37.6%)
CIE-LABlab(37.89, 54.43, -42.49)
CIE-LCHlch(37.89, 69.05, 322.03°)
OKLaboklab(48.83% 0.1412 -0.1189)
OKLCHoklch(48.83% 0.185 319.9)
XYZxyz(17.9212, 10.0261, 33.7854)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F9F #439F2F
analogous
#532F9F #8B2F9F #9F2F7B
triadic
#8B2F9F #9F8B2F #2F9F8B
tetradic
#8B2F9F #9F532F #439F2F #2F7B9F
square
#8B2F9F #9F532F #439F2F #2F7B9F
split-complementary
#8B2F9F #7B9F2F #2F9F53
monochromatic
#381341 #622170 #8B2F9F #B044C8 #C473D6

Accessibility & contrast

On white

6.99
#8B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2F9F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F9F#FFFFFF#000000##FFFFFF
##8B2F9F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#395C9C
Tritanopia (blue-blind)
#8B4464
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2f9f;
/* rgb */ color: rgb(139, 47, 159);
/* oklch */ color: oklch(48.8% 0.185 319.9);
Tailwind
colors: {
  custom: {
    50: '#b070bc',
    500: '#8b2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f9f;
$custom-light: #b070bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f9f",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 289.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48833,
    "c": 0.18466,
    "h": 319.9
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#8B2F9F
secondary
#7BBD6D
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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