#8F4CBB#8F4CBB

#8F4CBB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.174 H 309.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8F4CBB
RGBrgb(143, 76, 187)
HSLhsl(276, 45%, 52%)
HSVhsv(276, 59%, 73%)
CMYKcmyk(23.5%, 59.4%, 0%, 26.7%)
CIE-LABlab(45.08, 47.77, -47.56)
CIE-LCHlch(45.08, 67.41, 315.13°)
OKLaboklab(54.69% 0.111 -0.1338)
OKLCHoklch(54.69% 0.174 309.7)
XYZxyz(22.8800, 14.5968, 48.6162)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CBB #78BB4C
analogous
#584CBB #8F4CBB #BB4CB0
triadic
#8F4CBB #BB8F4C #4CBB8F
tetradic
#8F4CBB #BB584C #78BB4C #4CB0BB
square
#8F4CBB #BB584C #78BB4C #4CB0BB
split-complementary
#8F4CBB #B0BB4C #4CBB58
monochromatic
#4D2766 #6E3892 #8F4CBB #AB78CC #C7A5DD

Accessibility & contrast

On white

5.36
#8F4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CBB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CBB#FFFFFF#000000##FFFFFF
##8F4CBB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#89617C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4cbb;
/* rgb */ color: rgb(143, 76, 187);
/* oklch */ color: oklch(54.7% 0.174 309.7);
Tailwind
colors: {
  custom: {
    50: '#b381d0',
    500: '#8f4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cbb;
$custom-light: #b381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cbb",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 276.216,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.17391,
    "h": 309.7
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#8F4CBB
secondary
#ACCA99
accent
#D55386
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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