#8F1285#8F1285

#8F1285 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 332.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F1285
RGBrgb(143, 18, 133)
HSLhsl(305, 78%, 32%)
HSVhsv(305, 87%, 56%)
CMYKcmyk(0%, 87.4%, 7%, 43.9%)
CIE-LABlab(33.91, 59.64, -32.87)
CIE-LCHlch(33.91, 68.10, 331.14°)
OKLaboklab(45.63% 0.1714 -0.0906)
OKLCHoklch(45.63% 0.194 332.1)
XYZxyz(15.7777, 7.9671, 22.8926)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1285 #128F1C
analogous
#5B128F #8F1285 #8F1247
triadic
#8F1285 #858F12 #12858F
tetradic
#8F1285 #8F5B12 #128F1C #12478F
square
#8F1285 #8F5B12 #128F1C #12478F
split-complementary
#8F1285 #478F12 #128F5B
monochromatic
#220420 #590B52 #8F1285 #C519B8 #E636D8

Accessibility & contrast

On white

8.10
#8F1285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1285
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1285#FFFFFF#000000##FFFFFF
##8F12851.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#95254E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1285;
/* rgb */ color: rgb(143, 18, 133);
/* oklch */ color: oklch(45.6% 0.194 332.1);
Tailwind
colors: {
  custom: {
    50: '#b464a9',
    500: '#8f1285',
    950: '#000000',
  },
}
SCSS
$custom: #8f1285;
$custom-light: #b464a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1285",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 133
  },
  "hsl": {
    "h": 304.8,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.19392,
    "h": 332.1
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#8F1285
secondary
#3AC345
accent
#F44334
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1285

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

Preview Lab → · Contrast checker → · Palette generator →

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