#8F458D#8F458D

#8F458D is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.1% C 0.137 H 328.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F458D
RGBrgb(143, 69, 141)
HSLhsl(302, 35%, 42%)
HSVhsv(302, 52%, 56%)
CMYKcmyk(0%, 51.7%, 1.4%, 43.9%)
CIE-LABlab(41.25, 41.77, -26.25)
CIE-LCHlch(41.25, 49.33, 327.85°)
OKLaboklab(51.08% 0.1168 -0.0719)
OKLCHoklch(51.08% 0.137 328.4)
XYZxyz(18.2633, 12.0200, 26.5523)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F458D #458F47
analogous
#6C458F #8F458D #8F4568
triadic
#8F458D #8D8F45 #458D8F
tetradic
#8F458D #8F6C45 #458F47 #45688F
square
#8F458D #8F6C45 #458F47 #45688F
split-complementary
#8F458D #688F45 #458F6C
monochromatic
#3C1D3C #663164 #8F458D #B25FB0 #C689C4

Accessibility & contrast

On white

6.17
#8F458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F458D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F458D#FFFFFF#000000##FFFFFF
##8F458D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#934C62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f458d;
/* rgb */ color: rgb(143, 69, 141);
/* oklch */ color: oklch(51.1% 0.137 328.4);
Tailwind
colors: {
  custom: {
    50: '#b27cae',
    500: '#8f458d',
    950: '#000000',
  },
}
SCSS
$custom: #8f458d;
$custom-light: #b27cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f458d",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 301.622,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.13718,
    "h": 328.4
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#8F458D
secondary
#7FB180
accent
#CB605D
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8F458D

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

Preview Lab → · Contrast checker → · Palette generator →

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