#8F2F9B#8F2F9B

#8F2F9B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.183 H 323.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2F9B
RGBrgb(143, 47, 155)
HSLhsl(293, 53%, 40%)
HSVhsv(293, 70%, 61%)
CMYKcmyk(7.7%, 69.7%, 0%, 39.2%)
CIE-LABlab(38.27, 54.58, -39.43)
CIE-LCHlch(38.27, 67.34, 324.16°)
OKLaboklab(49.15% 0.1462 -0.1099)
OKLCHoklch(49.15% 0.183 323.1)
XYZxyz(18.2600, 10.2403, 32.0188)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F9B #3B9B2F
analogous
#592F9B #8F2F9B #9B2F71
triadic
#8F2F9B #9B8F2F #2F9B8F
tetradic
#8F2F9B #9B592F #3B9B2F #2F719B
square
#8F2F9B #9B592F #3B9B2F #2F719B
split-complementary
#8F2F9B #719B2F #2F9B59
monochromatic
#38133D #64216C #8F2F9B #B742C6 #C971D4

Accessibility & contrast

On white

6.89
#8F2F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F9B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F9B#FFFFFF#000000##FFFFFF
##8F2F9B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#914161
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2f9b;
/* rgb */ color: rgb(143, 47, 155);
/* oklch */ color: oklch(49.2% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#b370b9',
    500: '#8f2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f9b;
$custom-light: #b370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f9b",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 293.333,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49153,
    "c": 0.18291,
    "h": 323.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#8F2F9B
secondary
#73BB6A
accent
#DD4B5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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