#8F43DC#8F43DC

#8F43DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.221 H 302.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F43DC
RGBrgb(143, 67, 220)
HSLhsl(270, 69%, 56%)
HSVhsv(270, 70%, 86%)
CMYKcmyk(35%, 69.5%, 0%, 13.7%)
CIE-LABlab(45.66, 59.82, -65.65)
CIE-LCHlch(45.66, 88.82, 312.34°)
OKLaboklab(55.81% 0.1187 -0.1869)
OKLCHoklch(55.81% 0.221 302.4)
XYZxyz(26.2501, 15.0212, 69.2127)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F43DC #90DC43
analogous
#4344DC #8F43DC #DC43DC
triadic
#8F43DC #DC8F43 #43DC8F
tetradic
#8F43DC #DC4344 #90DC43 #43DCDC
square
#8F43DC #DC4344 #90DC43 #43DCDC
split-complementary
#8F43DC #DCDC43 #44DC43
monochromatic
#521A8B #7023BE #8F43DC #AE77E6 #CCAAEF

Accessibility & contrast

On white

5.24
#8F43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F43DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F43DC#FFFFFF#000000##FFFFFF
##8F43DC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7F678B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f43dc;
/* rgb */ color: rgb(143, 67, 220);
/* oklch */ color: oklch(55.8% 0.221 302.4);
Tailwind
colors: {
  custom: {
    50: '#b67de8',
    500: '#8f43dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f43dc;
$custom-light: #b67de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f43dc",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 269.804,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.2214,
    "h": 302.4
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#8F43DC
secondary
#BEDD9E
accent
#EB3C94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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