#8F2F95#8F2F95

#8F2F95 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.178 H 325.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F2F95
RGBrgb(143, 47, 149)
HSLhsl(296, 52%, 38%)
HSVhsv(296, 68%, 58%)
CMYKcmyk(4%, 68.5%, 0%, 41.6%)
CIE-LABlab(37.92, 53.48, -36.35)
CIE-LCHlch(37.92, 64.66, 325.80°)
OKLaboklab(48.79% 0.1462 -0.1009)
OKLCHoklch(48.79% 0.178 325.4)
XYZxyz(17.7686, 10.0437, 29.4307)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F95 #35952F
analogous
#5C2F95 #8F2F95 #952F68
triadic
#8F2F95 #958F2F #2F958F
tetradic
#8F2F95 #955C2F #35952F #2F6895
square
#8F2F95 #955C2F #35952F #2F6895
split-complementary
#8F2F95 #68952F #2F955C
monochromatic
#361238 #622066 #8F2F95 #BB3FC2 #CB6DD1

Accessibility & contrast

On white

6.98
#8F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2F95
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F95#FFFFFF#000000##FFFFFF
##8F2F951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#923F5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2f95;
/* rgb */ color: rgb(143, 47, 149);
/* oklch */ color: oklch(48.8% 0.178 325.4);
Tailwind
colors: {
  custom: {
    50: '#b370b4',
    500: '#8f2f95',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f95;
$custom-light: #b370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f95",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 296.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.17767,
    "h": 325.4
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#8F2F95
secondary
#6CB867
accent
#DB4C55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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