#8F2895#8F2895

#8F2895 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 325.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8F2895
RGBrgb(143, 40, 149)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(4%, 73.2%, 0%, 41.6%)
CIE-LABlab(36.98, 56.14, -37.84)
CIE-LCHlch(36.98, 67.70, 326.02°)
OKLaboklab(48.12% 0.1536 -0.1052)
OKLCHoklch(48.12% 0.186 325.6)
XYZxyz(17.5109, 9.5283, 29.3448)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2895 #2E9528
analogous
#582895 #8F2895 #952865
triadic
#8F2895 #958F28 #28958F
tetradic
#8F2895 #955828 #2E9528 #286595
square
#8F2895 #955828 #2E9528 #286595
split-complementary
#8F2895 #659528 #289558
monochromatic
#320E35 #611B65 #8F2895 #BD35C5 #CF62D5

Accessibility & contrast

On white

7.23
#8F2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2895
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2895#FFFFFF#000000##FFFFFF
##8F28951.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#405B92
Tritanopia (blue-blind)
#923A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2895;
/* rgb */ color: rgb(143, 40, 149);
/* oklch */ color: oklch(48.1% 0.186 325.6);
Tailwind
colors: {
  custom: {
    50: '#b36db5',
    500: '#8f2895',
    950: '#000000',
  },
}
SCSS
$custom: #8f2895;
$custom-light: #b36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2895",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 296.697,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.18619,
    "h": 325.6
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#8F2895
secondary
#63BB5E
accent
#E1474F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2895

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

Preview Lab → · Contrast checker → · Palette generator →

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