#8F1895#8F1895

#8F1895 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 46.9% C 0.201 H 325.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8F1895
RGBrgb(143, 24, 149)
HSLhsl(297, 72%, 34%)
HSVhsv(297, 84%, 58%)
CMYKcmyk(4%, 83.9%, 0%, 41.6%)
CIE-LABlab(35.33, 60.90, -40.48)
CIE-LCHlch(35.33, 73.13, 326.39°)
OKLaboklab(46.94% 0.1669 -0.1128)
OKLCHoklch(46.94% 0.201 325.9)
XYZxyz(17.0788, 8.6640, 29.2007)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1895 #1E9518
analogous
#511895 #8F1895 #95185D
triadic
#8F1895 #958F18 #18958F
tetradic
#8F1895 #955118 #1E9518 #185D95
square
#8F1895 #955118 #1E9518 #185D95
split-complementary
#8F1895 #5D9518 #189551
monochromatic
#2A072C #5C1060 #8F1895 #C220CA #DA46E1

Accessibility & contrast

On white

7.68
#8F1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1895
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1895#FFFFFF#000000##FFFFFF
##8F18951.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#395892
Tritanopia (blue-blind)
#933259
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1895;
/* rgb */ color: rgb(143, 24, 149);
/* oklch */ color: oklch(46.9% 0.201 325.9);
Tailwind
colors: {
  custom: {
    50: '#b467b5',
    500: '#8f1895',
    950: '#000000',
  },
}
SCSS
$custom: #8f1895;
$custom-light: #b467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1895",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 297.12,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.20141,
    "h": 325.9
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#8F1895
secondary
#4CC246
accent
#EF3942
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1895

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

Preview Lab → · Contrast checker → · Palette generator →

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