#8F43D7#8F43D7

#8F43D7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.216 H 303.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F43D7
RGBrgb(143, 67, 215)
HSLhsl(271, 65%, 55%)
HSVhsv(271, 69%, 84%)
CMYKcmyk(33.5%, 68.8%, 0%, 15.7%)
CIE-LABlab(45.30, 58.65, -63.37)
CIE-LCHlch(45.30, 86.35, 312.78°)
OKLaboklab(55.44% 0.1194 -0.1802)
OKLCHoklch(55.44% 0.216 303.5)
XYZxyz(25.5978, 14.7603, 65.7773)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F43D7 #8BD743
analogous
#4543D7 #8F43D7 #D743D5
triadic
#8F43D7 #D78F43 #43D78F
tetradic
#8F43D7 #D74543 #8BD743 #43D5D7
square
#8F43D7 #D74543 #8BD743 #43D5D7
split-complementary
#8F43D7 #D5D743 #43D745
monochromatic
#511C84 #7027B6 #8F43D7 #AD75E2 #CBA8EC

Accessibility & contrast

On white

5.31
#8F43D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8F43D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F43D7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F43D7#FFFFFF#000000##FFFFFF
##8F43D71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#816588
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f43d7;
/* rgb */ color: rgb(143, 67, 215);
/* oklch */ color: oklch(55.4% 0.216 303.5);
Tailwind
colors: {
  custom: {
    50: '#b57de4',
    500: '#8f43d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f43d7;
$custom-light: #b57de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f43d7",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 270.811,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.21619,
    "h": 303.5
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#8F43D7
secondary
#BADA9C
accent
#E84092
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F43D7

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

Preview Lab → · Contrast checker → · Palette generator →

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