#8F3CD1#8F3CD1

#8F3CD1 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.218 H 305.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8F3CD1
RGBrgb(143, 60, 209)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(31.6%, 71.3%, 0%, 18%)
CIE-LABlab(43.76, 60.39, -62.43)
CIE-LCHlch(43.76, 86.86, 314.05°)
OKLaboklab(54.21% 0.1273 -0.1774)
OKLCHoklch(54.21% 0.218 305.7)
XYZxyz(24.4496, 13.6750, 61.6607)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CD1 #7ED13C
analogous
#443CD1 #8F3CD1 #D13CC8
triadic
#8F3CD1 #D18F3C #3CD18F
tetradic
#8F3CD1 #D1443C #7ED13C #3CC8D1
square
#8F3CD1 #D1443C #7ED13C #3CC8D1
split-complementary
#8F3CD1 #C8D13C #3CD144
monochromatic
#4E1C77 #6F28A8 #8F3CD1 #AB6EDD #C89FE8

Accessibility & contrast

On white

5.62
#8F3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8F3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CD1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CD1#FFFFFF#000000##FFFFFF
##8F3CD11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#835F83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3cd1;
/* rgb */ color: rgb(143, 60, 209);
/* oklch */ color: oklch(54.2% 0.218 305.7);
Tailwind
colors: {
  custom: {
    50: '#b579e0',
    500: '#8f3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cd1;
$custom-light: #b579e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cd1",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 273.423,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.21836,
    "h": 305.7
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#8F3CD1
secondary
#B1D594
accent
#E5438B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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