#8F4CC3#8F4CC3

#8F4CC3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.183 H 307.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F4CC3
RGBrgb(143, 76, 195)
HSLhsl(274, 50%, 53%)
HSVhsv(274, 61%, 76%)
CMYKcmyk(26.7%, 61%, 0%, 23.5%)
CIE-LABlab(45.56, 49.61, -51.43)
CIE-LCHlch(45.56, 71.46, 313.97°)
OKLaboklab(55.2% 0.111 -0.1452)
OKLCHoklch(55.2% 0.183 307.4)
XYZxyz(23.7604, 14.9489, 53.2529)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CC3 #80C34C
analogous
#534CC3 #8F4CC3 #C34CBB
triadic
#8F4CC3 #C38F4C #4CC38F
tetradic
#8F4CC3 #C3534C #80C34C #4CBBC3
square
#8F4CC3 #C3534C #80C34C #4CBBC3
split-complementary
#8F4CC3 #BBC34C #4CC353
monochromatic
#4F256F #6F359D #8F4CC3 #AC7AD2 #C8A8E2

Accessibility & contrast

On white

5.26
#8F4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CC3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CC3#FFFFFF#000000##FFFFFF
##8F4CC31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#376CC0
Tritanopia (blue-blind)
#876480
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4cc3;
/* rgb */ color: rgb(143, 76, 195);
/* oklch */ color: oklch(55.2% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#b381d6',
    500: '#8f4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cc3;
$custom-light: #b381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cc3",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 273.782,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.18274,
    "h": 307.4
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#8F4CC3
secondary
#B2CF9C
accent
#D94E8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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