#8F3AD2#8F3AD2

#8F3AD2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.222 H 305.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F3AD2
RGBrgb(143, 58, 210)
HSLhsl(274, 63%, 53%)
HSVhsv(274, 72%, 82%)
CMYKcmyk(31.9%, 72.4%, 0%, 17.6%)
CIE-LABlab(43.54, 61.47, -63.37)
CIE-LCHlch(43.54, 88.29, 314.12°)
OKLaboklab(54.07% 0.1291 -0.1802)
OKLCHoklch(54.07% 0.222 305.6)
XYZxyz(24.4710, 13.5191, 62.2805)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AD2 #7DD23A
analogous
#433AD2 #8F3AD2 #D23AC9
triadic
#8F3AD2 #D28F3A #3AD28F
tetradic
#8F3AD2 #D2433A #7DD23A #3AC9D2
square
#8F3AD2 #D2433A #7DD23A #3AC9D2
split-complementary
#8F3AD2 #C9D23A #3AD243
monochromatic
#4E1B77 #6F26A8 #8F3AD2 #AB6CDD #C89EE9

Accessibility & contrast

On white

5.67
#8F3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AD2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AD2#FFFFFF#000000##FFFFFF
##8F3AD21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#835E83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3ad2;
/* rgb */ color: rgb(143, 58, 210);
/* oklch */ color: oklch(54.1% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#b578e1',
    500: '#8f3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ad2;
$custom-light: #b578e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ad2",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 273.553,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.22163,
    "h": 305.6
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#8F3AD2
secondary
#B0D593
accent
#E6428A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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