#8F2F94#8F2F94

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

Color values

HEX#8F2F94
RGBrgb(143, 47, 148)
HSLhsl(297, 52%, 38%)
HSVhsv(297, 68%, 58%)
CMYKcmyk(3.4%, 68.2%, 0%, 42%)
CIE-LABlab(37.86, 53.30, -35.83)
CIE-LCHlch(37.86, 64.22, 326.09°)
OKLaboklab(48.73% 0.1462 -0.0994)
OKLCHoklch(48.73% 0.177 325.8)
XYZxyz(17.6891, 10.0119, 29.0120)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F94 #34942F
analogous
#5C2F94 #8F2F94 #942F66
triadic
#8F2F94 #948F2F #2F948F
tetradic
#8F2F94 #945C2F #34942F #2F6694
square
#8F2F94 #945C2F #34942F #2F6694
split-complementary
#8F2F94 #66942F #2F945C
monochromatic
#351137 #622066 #8F2F94 #BB3EC2 #CC6DD1

Accessibility & contrast

On white

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

On black

3.00
#8F2F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F2F94#FFFFFF#000000##FFFFFF
##8F2F941.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#933E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2f94;
/* rgb */ color: rgb(143, 47, 148);
/* oklch */ color: oklch(48.7% 0.177 325.8);
Tailwind
colors: {
  custom: {
    50: '#b370b4',
    500: '#8f2f94',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f94;
$custom-light: #b370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f94",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 297.03,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.17681,
    "h": 325.8
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#8F2F94
secondary
#6BB867
accent
#DB4D54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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