#8F3BDA#8F3BDA

#8F3BDA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.228 H 303.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F3BDA
RGBrgb(143, 59, 218)
HSLhsl(272, 68%, 54%)
HSVhsv(272, 73%, 85%)
CMYKcmyk(34.4%, 72.9%, 0%, 14.5%)
CIE-LABlab(44.28, 62.86, -66.76)
CIE-LCHlch(44.28, 91.70, 313.27°)
OKLaboklab(54.78% 0.1266 -0.1902)
OKLCHoklch(54.78% 0.228 303.7)
XYZxyz(25.5436, 14.0296, 67.6783)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BDA #86DA3B
analogous
#403BDA #8F3BDA #DA3BD6
triadic
#8F3BDA #DA8F3B #3BDA8F
tetradic
#8F3BDA #DA403B #86DA3B #3BD6DA
square
#8F3BDA #DA403B #86DA3B #3BD6DA
split-complementary
#8F3BDA #D6DA3B #3BDA40
monochromatic
#501982 #7022B6 #8F3BDA #AC6EE4 #CAA2ED

Accessibility & contrast

On white

5.52
#8F3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BDA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BDA#FFFFFF#000000##FFFFFF
##8F3BDA1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#806288
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3bda;
/* rgb */ color: rgb(143, 59, 218);
/* oklch */ color: oklch(54.8% 0.228 303.7);
Tailwind
colors: {
  custom: {
    50: '#b679e6',
    500: '#8f3bda',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bda;
$custom-light: #b679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bda",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 271.698,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.22846,
    "h": 303.7
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#8F3BDA
secondary
#B6DA97
accent
#EB3D8F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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