#8F4BB2#8F4BB2

#8F4BB2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.166 H 312.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F4BB2
RGBrgb(143, 75, 178)
HSLhsl(280, 41%, 50%)
HSVhsv(280, 58%, 70%)
CMYKcmyk(19.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(44.36, 46.27, -43.44)
CIE-LCHlch(44.36, 63.46, 316.81°)
OKLaboklab(54% 0.1121 -0.1218)
OKLCHoklch(54% 0.166 312.6)
XYZxyz(21.8782, 14.0867, 43.6773)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BB2 #6EB24B
analogous
#5C4BB2 #8F4BB2 #B24BA1
triadic
#8F4BB2 #B28F4B #4BB28F
tetradic
#8F4BB2 #B25C4B #6EB24B #4BA1B2
square
#8F4BB2 #B25C4B #6EB24B #4BA1B2
split-complementary
#8F4BB2 #A1B24B #4BB25C
monochromatic
#4A275C #6C3987 #8F4BB2 #AA75C5 #C4A0D7

Accessibility & contrast

On white

5.50
#8F4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BB2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BB2#FFFFFF#000000##FFFFFF
##8F4BB21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#8B5D77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4bb2;
/* rgb */ color: rgb(143, 75, 178);
/* oklch */ color: oklch(54.0% 0.166 312.6);
Tailwind
colors: {
  custom: {
    50: '#b280c9',
    500: '#8f4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bb2;
$custom-light: #b280c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bb2",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 279.612,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.16555,
    "h": 312.6
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#8F4BB2
secondary
#A5C495
accent
#D15780
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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