#8B2F94#8B2F94

#8B2F94 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.175 H 324.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8B2F94
RGBrgb(139, 47, 148)
HSLhsl(295, 52%, 38%)
HSVhsv(295, 68%, 58%)
CMYKcmyk(6.1%, 68.2%, 0%, 42%)
CIE-LABlab(37.23, 52.33, -36.88)
CIE-LCHlch(37.23, 64.02, 324.83°)
OKLaboklab(48.15% 0.1415 -0.1026)
OKLCHoklch(48.15% 0.175 324.1)
XYZxyz(17.0088, 9.6611, 28.9801)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F94 #38942F
analogous
#582F94 #8B2F94 #942F6A
triadic
#8B2F94 #948B2F #2F948B
tetradic
#8B2F94 #94582F #38942F #2F6A94
square
#8B2F94 #94582F #38942F #2F6A94
split-complementary
#8B2F94 #6A942F #2F9458
monochromatic
#341137 #5F2066 #8B2F94 #B63EC2 #C86DD1

Accessibility & contrast

On white

7.16
#8B2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F94
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F94#FFFFFF#000000##FFFFFF
##8B2F941.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175197
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#8E3F5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2f94;
/* rgb */ color: rgb(139, 47, 148);
/* oklch */ color: oklch(48.1% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#b06fb4',
    500: '#8b2f94',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f94;
$custom-light: #b06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f94",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 294.653,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.17479,
    "h": 324.1
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#8B2F94
secondary
#6EB867
accent
#DB4D59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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