#8F2BAF#8F2BAF

#8F2BAF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.205 H 316.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8F2BAF
RGBrgb(143, 43, 175)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(39.01, 59.94, -50.23)
CIE-LCHlch(39.01, 78.20, 320.03°)
OKLaboklab(50.09% 0.1487 -0.1415)
OKLCHoklch(50.09% 0.205 316.4)
XYZxyz(19.9282, 10.6634, 41.5576)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BAF #4BAF2B
analogous
#4D2BAF #8F2BAF #AF2B8D
triadic
#8F2BAF #AF8F2B #2BAF8F
tetradic
#8F2BAF #AF4D2B #4BAF2B #2B8DAF
square
#8F2BAF #AF4D2B #4BAF2B #2B8DAF
split-complementary
#8F2BAF #8DAF2B #2BAF4D
monochromatic
#3F134D #671F7E #8F2BAF #B046D1 #C577DE

Accessibility & contrast

On white

6.70
#8F2BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F2BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BAF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BAF#FFFFFF#000000##FFFFFF
##8F2BAF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#8D486B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2baf;
/* rgb */ color: rgb(143, 43, 175);
/* oklch */ color: oklch(50.1% 0.205 316.4);
Tailwind
colors: {
  custom: {
    50: '#b46fc8',
    500: '#8f2baf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2baf;
$custom-light: #b46fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2baf",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 285.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.20524,
    "h": 316.4
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8F2BAF
secondary
#85C570
accent
#E4446B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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