#8F4BCB#8F4BCB

#8F4BCB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.193 H 305.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8F4BCB
RGBrgb(143, 75, 203)
HSLhsl(272, 55%, 55%)
HSVhsv(272, 63%, 80%)
CMYKcmyk(29.6%, 63.1%, 0%, 20.4%)
CIE-LABlab(45.88, 51.99, -55.54)
CIE-LCHlch(45.88, 76.08, 313.11°)
OKLaboklab(55.6% 0.1118 -0.1572)
OKLCHoklch(55.6% 0.193 305.4)
XYZxyz(24.6209, 15.1838, 58.1220)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BCB #87CB4B
analogous
#4F4BCB #8F4BCB #CB4BC7
triadic
#8F4BCB #CB8F4B #4BCB8F
tetradic
#8F4BCB #CB4F4B #87CB4B #4BC7CB
square
#8F4BCB #CB4F4B #87CB4B #4BC7CB
split-complementary
#8F4BCB #C7CB4B #4BCB4F
monochromatic
#502379 #7031A8 #8F4BCB #AD7AD9 #CAAAE6

Accessibility & contrast

On white

5.20
#8F4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8F4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BCB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BCB#FFFFFF#000000##FFFFFF
##8F4BCB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#856684
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4bcb;
/* rgb */ color: rgb(143, 75, 203);
/* oklch */ color: oklch(55.6% 0.193 305.4);
Tailwind
colors: {
  custom: {
    50: '#b481dc',
    500: '#8f4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bcb;
$custom-light: #b481dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bcb",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 271.875,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.19297,
    "h": 305.4
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#8F4BCB
secondary
#B7D49E
accent
#DF498F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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