#8F3285#8F3285

#8F3285 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.160 H 332.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8F3285
RGBrgb(143, 50, 133)
HSLhsl(306, 48%, 38%)
HSVhsv(306, 65%, 56%)
CMYKcmyk(0%, 65%, 7%, 43.9%)
CIE-LABlab(37.51, 49.41, -27.20)
CIE-LCHlch(37.51, 56.40, 331.17°)
OKLaboklab(48.21% 0.1417 -0.0745)
OKLCHoklch(48.21% 0.16 332.3)
XYZxyz(16.7019, 9.8156, 23.2007)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3285 #328F3C
analogous
#6B328F #8F3285 #8F3256
triadic
#8F3285 #858F32 #32858F
tetradic
#8F3285 #8F6B32 #328F3C #32568F
square
#8F3285 #8F6B32 #328F3C #32568F
split-complementary
#8F3285 #568F32 #328F6B
monochromatic
#341231 #62225B #8F3285 #BC42AF #CD6FC3

Accessibility & contrast

On white

7.09
#8F3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3285
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3285#FFFFFF#000000##FFFFFF
##8F32851.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#953A57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f3285;
/* rgb */ color: rgb(143, 50, 133);
/* oklch */ color: oklch(48.2% 0.160 332.3);
Tailwind
colors: {
  custom: {
    50: '#b371a9',
    500: '#8f3285',
    950: '#000000',
  },
}
SCSS
$custom: #8f3285;
$custom-light: #b371a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3285",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 306.452,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.16007,
    "h": 332.3
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#8F3285
secondary
#68B471
accent
#D85F50
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F3285

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

Preview Lab → · Contrast checker → · Palette generator →

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