#8F2295#8F2295

#8F2295 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 325.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F2295
RGBrgb(143, 34, 149)
HSLhsl(297, 63%, 36%)
HSVhsv(297, 77%, 58%)
CMYKcmyk(4%, 77.2%, 0%, 41.6%)
CIE-LABlab(36.28, 58.14, -38.96)
CIE-LCHlch(36.28, 69.99, 326.18°)
OKLaboklab(47.62% 0.1592 -0.1084)
OKLCHoklch(47.62% 0.193 325.7)
XYZxyz(17.3242, 9.1548, 29.2825)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2295 #289522
analogous
#552295 #8F2295 #952261
triadic
#8F2295 #958F22 #22958F
tetradic
#8F2295 #955522 #289522 #226195
square
#8F2295 #955522 #289522 #226195
split-complementary
#8F2295 #619522 #229555
monochromatic
#2F0B31 #5F1763 #8F2295 #BF2DC7 #D258D9

Accessibility & contrast

On white

7.42
#8F2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2295
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2295#FFFFFF#000000##FFFFFF
##8F22951.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#3D5A92
Tritanopia (blue-blind)
#93375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2295;
/* rgb */ color: rgb(143, 34, 149);
/* oklch */ color: oklch(47.6% 0.193 325.7);
Tailwind
colors: {
  custom: {
    50: '#b36ab5',
    500: '#8f2295',
    950: '#000000',
  },
}
SCSS
$custom: #8f2295;
$custom-light: #b36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2295",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 296.87,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.19261,
    "h": 325.7
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#8F2295
secondary
#5BBD56
accent
#E6424A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2295

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

Preview Lab → · Contrast checker → · Palette generator →

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