#8F43DB#8F43DB

#8F43DB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.220 H 302.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F43DB
RGBrgb(143, 67, 219)
HSLhsl(270, 68%, 56%)
HSVhsv(270, 69%, 86%)
CMYKcmyk(34.7%, 69.4%, 0%, 14.1%)
CIE-LABlab(45.59, 59.59, -65.20)
CIE-LCHlch(45.59, 88.32, 312.43°)
OKLaboklab(55.74% 0.1188 -0.1856)
OKLCHoklch(55.74% 0.22 302.6)
XYZxyz(26.1180, 14.9684, 68.5173)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F43DB #8FDB43
analogous
#4343DB #8F43DB #DB43DB
triadic
#8F43DB #DB8F43 #43DB8F
tetradic
#8F43DB #DB4343 #8FDB43 #43DBDB
square
#8F43DB #DB4343 #8FDB43 #43DBDB
split-complementary
#8F43DB #DBDB43 #43DB43
monochromatic
#521A89 #7024BD #8F43DB #AE76E5 #CCAAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F43DB#FFFFFF#000000##FFFFFF
##8F43DB1.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)
#006BDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#7F678A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f43db;
/* rgb */ color: rgb(143, 67, 219);
/* oklch */ color: oklch(55.7% 0.220 302.6);
Tailwind
colors: {
  custom: {
    50: '#b57de7',
    500: '#8f43db',
    950: '#000000',
  },
}
SCSS
$custom: #8f43db;
$custom-light: #b57de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f43db",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.22036,
    "h": 302.6
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#8F43DB
secondary
#BDDC9E
accent
#EB3D94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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