#8F45AF#8F45AF

#8F45AF is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.0% C 0.172 H 314.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F45AF
RGBrgb(143, 69, 175)
HSLhsl(282, 43%, 48%)
HSVhsv(282, 61%, 69%)
CMYKcmyk(18.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(43.05, 48.66, -43.75)
CIE-LCHlch(43.05, 65.44, 318.04°)
OKLaboklab(52.99% 0.1199 -0.1227)
OKLCHoklch(52.99% 0.172 314.3)
XYZxyz(21.1924, 13.1917, 41.9790)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45AF #65AF45
analogous
#5A45AF #8F45AF #AF459A
triadic
#8F45AF #AF8F45 #45AF8F
tetradic
#8F45AF #AF5A45 #65AF45 #459AAF
square
#8F45AF #AF5A45 #65AF45 #459AAF
split-complementary
#8F45AF #9AAF45 #45AF5A
monochromatic
#472257 #6B3483 #8F45AF #AA6CC5 #C498D6

Accessibility & contrast

On white

5.77
#8F45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8F45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45AF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45AF#FFFFFF#000000##FFFFFF
##8F45AF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#8C5873
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f45af;
/* rgb */ color: rgb(143, 69, 175);
/* oklch */ color: oklch(53.0% 0.172 314.3);
Tailwind
colors: {
  custom: {
    50: '#b37dc7',
    500: '#8f45af',
    950: '#000000',
  },
}
SCSS
$custom: #8f45af;
$custom-light: #b37dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45af",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 281.887,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.1715,
    "h": 314.3
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#8F45AF
secondary
#9DC28D
accent
#D3557B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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