#8F4BC9#8F4BC9

#8F4BC9 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.191 H 305.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8F4BC9
RGBrgb(143, 75, 201)
HSLhsl(272, 54%, 54%)
HSVhsv(272, 63%, 79%)
CMYKcmyk(28.9%, 62.7%, 0%, 21.2%)
CIE-LABlab(45.76, 51.52, -54.60)
CIE-LCHlch(45.76, 75.06, 313.34°)
OKLaboklab(55.46% 0.112 -0.1545)
OKLCHoklch(55.46% 0.191 305.9)
XYZxyz(24.3841, 15.0890, 56.8749)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BC9 #85C94B
analogous
#504BC9 #8F4BC9 #C94BC4
triadic
#8F4BC9 #C98F4B #4BC98F
tetradic
#8F4BC9 #C9504B #85C94B #4BC4C9
square
#8F4BC9 #C9504B #85C94B #4BC4C9
split-complementary
#8F4BC9 #C4C94B #4BC950
monochromatic
#502376 #7032A5 #8F4BC9 #AC7AD7 #CAA9E5

Accessibility & contrast

On white

5.23
#8F4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8F4BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BC9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BC9#FFFFFF#000000##FFFFFF
##8F4BC91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#856583
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4bc9;
/* rgb */ color: rgb(143, 75, 201);
/* oklch */ color: oklch(55.5% 0.191 305.9);
Tailwind
colors: {
  custom: {
    50: '#b481da',
    500: '#8f4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bc9;
$custom-light: #b481da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bc9",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 272.381,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.19077,
    "h": 305.9
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#8F4BC9
secondary
#B6D39D
accent
#DD4B8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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