#8F2B9B#8F2B9B

#8F2B9B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.188 H 323.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F2B9B
RGBrgb(143, 43, 155)
HSLhsl(294, 57%, 39%)
HSVhsv(294, 72%, 61%)
CMYKcmyk(7.7%, 72.3%, 0%, 39.2%)
CIE-LABlab(37.73, 56.13, -40.30)
CIE-LCHlch(37.73, 69.09, 324.32°)
OKLaboklab(48.76% 0.1504 -0.1124)
OKLCHoklch(48.76% 0.188 323.2)
XYZxyz(18.1074, 9.9350, 31.9679)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B9B #379B2B
analogous
#572B9B #8F2B9B #9B2B6F
triadic
#8F2B9B #9B8F2B #2B9B8F
tetradic
#8F2B9B #9B572B #379B2B #2B6F9B
square
#8F2B9B #9B572B #379B2B #2B6F9B
split-complementary
#8F2B9B #6F9B2B #2B9B57
monochromatic
#37103B #631E6B #8F2B9B #B93BC9 #CA6BD6

Accessibility & contrast

On white

7.03
#8F2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B9B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B9B#FFFFFF#000000##FFFFFF
##8F2B9B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#913F60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2b9b;
/* rgb */ color: rgb(143, 43, 155);
/* oklch */ color: oklch(48.8% 0.188 323.2);
Tailwind
colors: {
  custom: {
    50: '#b36eb9',
    500: '#8f2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b9b;
$custom-light: #b36eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b9b",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 293.571,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.18778,
    "h": 323.2
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#8F2B9B
secondary
#6FBC65
accent
#E04858
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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