#8F4CC2#8F4CC2

#8F4CC2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.182 H 307.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F4CC2
RGBrgb(143, 76, 194)
HSLhsl(274, 49%, 53%)
HSVhsv(274, 61%, 76%)
CMYKcmyk(26.3%, 60.8%, 0%, 23.9%)
CIE-LABlab(45.50, 49.38, -50.95)
CIE-LCHlch(45.50, 70.95, 314.10°)
OKLaboklab(55.14% 0.111 -0.1438)
OKLCHoklch(55.14% 0.182 307.7)
XYZxyz(23.6477, 14.9039, 52.6594)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CC2 #7FC24C
analogous
#544CC2 #8F4CC2 #C24CBA
triadic
#8F4CC2 #C28F4C #4CC28F
tetradic
#8F4CC2 #C2544C #7FC24C #4CBAC2
square
#8F4CC2 #C2544C #7FC24C #4CBAC2
split-complementary
#8F4CC2 #BAC24C #4CC254
monochromatic
#4F266E #6F359C #8F4CC2 #AC7AD2 #C8A7E1

Accessibility & contrast

On white

5.28
#8F4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8F4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CC2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CC2#FFFFFF#000000##FFFFFF
##8F4CC21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C6
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#876380
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4cc2;
/* rgb */ color: rgb(143, 76, 194);
/* oklch */ color: oklch(55.1% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#b381d5',
    500: '#8f4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cc2;
$custom-light: #b381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cc2",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 274.068,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.18164,
    "h": 307.7
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#8F4CC2
secondary
#B1CE9B
accent
#D94F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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