#8F43D4#8F43D4

#8F43D4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.213 H 304.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8F43D4
RGBrgb(143, 67, 212)
HSLhsl(271, 63%, 55%)
HSVhsv(271, 68%, 83%)
CMYKcmyk(32.5%, 68.4%, 0%, 16.9%)
CIE-LABlab(45.09, 57.95, -62.00)
CIE-LCHlch(45.09, 84.87, 313.07°)
OKLaboklab(55.22% 0.1198 -0.1762)
OKLCHoklch(55.22% 0.213 304.2)
XYZxyz(25.2158, 14.6075, 63.7657)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F43D4 #88D443
analogous
#4643D4 #8F43D4 #D443D1
triadic
#8F43D4 #D48F43 #43D48F
tetradic
#8F43D4 #D44643 #88D443 #43D1D4
square
#8F43D4 #D44643 #88D443 #43D1D4
split-complementary
#8F43D4 #D1D443 #43D446
monochromatic
#511D7F #7029B1 #8F43D4 #AD75DF #CAA7EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F43D4#FFFFFF#000000##FFFFFF
##8F43D41.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)
#0069D8
Deuteranopia (green-blind)
#006BD1
Tritanopia (blue-blind)
#826486
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f43d4;
/* rgb */ color: rgb(143, 67, 212);
/* oklch */ color: oklch(55.2% 0.213 304.2);
Tailwind
colors: {
  custom: {
    50: '#b57de2',
    500: '#8f43d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f43d4;
$custom-light: #b57de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f43d4",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 271.448,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.21307,
    "h": 304.2
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#8F43D4
secondary
#B8D89B
accent
#E64290
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F43D4

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

Preview Lab → · Contrast checker → · Palette generator →

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