#8F2285#8F2285

#8F2285 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.180 H 332.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8F2285
RGBrgb(143, 34, 133)
HSLhsl(306, 62%, 35%)
HSVhsv(306, 76%, 56%)
CMYKcmyk(0%, 76.2%, 7%, 43.9%)
CIE-LABlab(35.36, 55.47, -30.58)
CIE-LCHlch(35.36, 63.34, 331.13°)
OKLaboklab(46.66% 0.1593 -0.0841)
OKLCHoklch(46.66% 0.18 332.2)
XYZxyz(16.1334, 8.6785, 23.0112)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2285 #228F2C
analogous
#63228F #8F2285 #8F224E
triadic
#8F2285 #858F22 #22858F
tetradic
#8F2285 #8F6322 #228F2C #224E8F
square
#8F2285 #8F6322 #228F2C #224E8F
split-complementary
#8F2285 #4E8F22 #228F63
monochromatic
#2C0A29 #5E1657 #8F2285 #C02EB3 #D755CB

Accessibility & contrast

On white

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

On black

2.74
#8F2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F2285#FFFFFF#000000##FFFFFF
##8F22851.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4988
Deuteranopia (green-blind)
#465982
Tritanopia (blue-blind)
#952F52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2285;
/* rgb */ color: rgb(143, 34, 133);
/* oklch */ color: oklch(46.7% 0.180 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36aa9',
    500: '#8f2285',
    950: '#000000',
  },
}
SCSS
$custom: #8f2285;
$custom-light: #b36aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2285",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 305.505,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46658,
    "c": 0.18012,
    "h": 332.2
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#8F2285
secondary
#52BA5C
accent
#E55243
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2285

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

Preview Lab → · Contrast checker → · Palette generator →

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