#8F2995#8F2995

#8F2995 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.185 H 325.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F2995
RGBrgb(143, 41, 149)
HSLhsl(297, 57%, 37%)
HSVhsv(297, 72%, 58%)
CMYKcmyk(4%, 72.5%, 0%, 41.6%)
CIE-LABlab(37.11, 55.78, -37.64)
CIE-LCHlch(37.11, 67.29, 325.99°)
OKLaboklab(48.21% 0.1526 -0.1046)
OKLCHoklch(48.21% 0.185 325.6)
XYZxyz(17.5451, 9.5966, 29.3562)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2995 #2F9529
analogous
#592995 #8F2995 #952965
triadic
#8F2995 #958F29 #29958F
tetradic
#8F2995 #955929 #2F9529 #296595
square
#8F2995 #955929 #2F9529 #296595
split-complementary
#8F2995 #659529 #299559
monochromatic
#330F35 #611C65 #8F2995 #BD36C5 #CE64D4

Accessibility & contrast

On white

7.19
#8F2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2995
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2995#FFFFFF#000000##FFFFFF
##8F29951.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#923B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2995;
/* rgb */ color: rgb(143, 41, 149);
/* oklch */ color: oklch(48.2% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#b36db5',
    500: '#8f2995',
    950: '#000000',
  },
}
SCSS
$custom: #8f2995;
$custom-light: #b36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2995",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 296.667,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.18504,
    "h": 325.6
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#8F2995
secondary
#65BA60
accent
#E04850
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2995

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

Preview Lab → · Contrast checker → · Palette generator →

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