#8F3DD6#8F3DD6

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

Color values

HEX#8F3DD6
RGBrgb(143, 61, 214)
HSLhsl(272, 65%, 54%)
HSVhsv(272, 71%, 84%)
CMYKcmyk(33.2%, 71.5%, 0%, 16.1%)
CIE-LABlab(44.28, 61.09, -64.46)
CIE-LCHlch(44.28, 88.82, 313.46°)
OKLaboklab(54.69% 0.1255 -0.1834)
OKLCHoklch(54.69% 0.222 304.4)
XYZxyz(25.1313, 14.0323, 64.9898)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD6 #84D63D
analogous
#433DD6 #8F3DD6 #D63DD0
triadic
#8F3DD6 #D68F3D #3DD68F
tetradic
#8F3DD6 #D6433D #84D63D #3DD0D6
square
#8F3DD6 #D6433D #84D63D #3DD0D6
split-complementary
#8F3DD6 #D0D63D #3DD643
monochromatic
#501B7E #7025B1 #8F3DD6 #AC70E1 #C9A2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3DD6#FFFFFF#000000##FFFFFF
##8F3DD61.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)
#0067DA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#816286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3dd6;
/* rgb */ color: rgb(143, 61, 214);
/* oklch */ color: oklch(54.7% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#b579e4',
    500: '#8f3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd6;
$custom-light: #b579e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd6",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 272.157,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.22223,
    "h": 304.4
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#8F3DD6
secondary
#B5D897
accent
#E8408E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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