#8F459F#8F459F

#8F459F is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.0% C 0.155 H 320.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F459F
RGBrgb(143, 69, 159)
HSLhsl(289, 39%, 45%)
HSVhsv(289, 57%, 62%)
CMYKcmyk(10.1%, 56.6%, 0%, 37.6%)
CIE-LABlab(42.15, 45.30, -35.67)
CIE-LCHlch(42.15, 57.66, 321.78°)
OKLaboklab(52.04% 0.1191 -0.0991)
OKLCHoklch(52.04% 0.155 320.2)
XYZxyz(19.7131, 12.5999, 34.1878)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F459F #559F45
analogous
#62459F #8F459F #9F4582
triadic
#8F459F #9F8F45 #459F8F
tetradic
#8F459F #9F6245 #559F45 #45829F
square
#8F459F #9F6245 #559F45 #45829F
split-complementary
#8F459F #829F45 #459F62
monochromatic
#42204A #693274 #8F459F #AD65BC #C490CF

Accessibility & contrast

On white

5.97
#8F459F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F459F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F459F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F459F#FFFFFF#000000##FFFFFF
##8F459F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#90526B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f459f;
/* rgb */ color: rgb(143, 69, 159);
/* oklch */ color: oklch(52.0% 0.155 320.2);
Tailwind
colors: {
  custom: {
    50: '#b27cbc',
    500: '#8f459f',
    950: '#000000',
  },
}
SCSS
$custom: #8f459f;
$custom-light: #b27cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f459f",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 289.333,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.15493,
    "h": 320.2
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#8F459F
secondary
#8FBA86
accent
#CF586E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F459F

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

Preview Lab → · Contrast checker → · Palette generator →

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