#8F58A2#8F58A2

#8F58A2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.1% C 0.126 H 317.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8F58A2
RGBrgb(143, 88, 162)
HSLhsl(285, 30%, 49%)
HSVhsv(285, 46%, 64%)
CMYKcmyk(11.7%, 45.7%, 0%, 36.5%)
CIE-LABlab(46.22, 35.71, -31.07)
CIE-LCHlch(46.22, 47.34, 318.98°)
OKLaboklab(55.1% 0.0921 -0.0859)
OKLCHoklch(55.1% 0.126 317)
XYZxyz(21.3381, 15.4284, 36.0294)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58A2 #6BA258
analogous
#6A58A2 #8F58A2 #A25890
triadic
#8F58A2 #A28F58 #58A28F
tetradic
#8F58A2 #A26A58 #6BA258 #5890A2
square
#8F58A2 #A26A58 #6BA258 #5890A2
split-complementary
#8F58A2 #90A258 #58A26A
monochromatic
#492D53 #6C427A #8F58A2 #AA7EB9 #C4A6CF

Accessibility & contrast

On white

5.14
#8F58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8F58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58A2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58A2#FFFFFF#000000##FFFFFF
##8F58A21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#8F6275
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f58a2;
/* rgb */ color: rgb(143, 88, 162);
/* oklch */ color: oklch(55.1% 0.126 317.0);
Tailwind
colors: {
  custom: {
    50: '#b189be',
    500: '#8f58a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f58a2;
$custom-light: #b189be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58a2",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 284.595,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.12596,
    "h": 317
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#8F58A2
secondary
#A2BC99
accent
#C6627C
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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