#8F3DD1#8F3DD1

#8F3DD1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.217 H 305.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F3DD1
RGBrgb(143, 61, 209)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(31.6%, 70.8%, 0%, 18%)
CIE-LABlab(43.92, 59.96, -62.18)
CIE-LCHlch(43.92, 86.38, 313.96°)
OKLaboklab(54.32% 0.1263 -0.1767)
OKLCHoklch(54.32% 0.217 305.6)
XYZxyz(24.5025, 13.7808, 61.6784)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD1 #7FD13D
analogous
#453DD1 #8F3DD1 #D13DC9
triadic
#8F3DD1 #D18F3D #3DD18F
tetradic
#8F3DD1 #D1453D #7FD13D #3DC9D1
square
#8F3DD1 #D1453D #7FD13D #3DC9D1
split-complementary
#8F3DD1 #C9D13D #3DD145
monochromatic
#4F1C77 #6F28A9 #8F3DD1 #AC6EDD #C8A0E8

Accessibility & contrast

On white

5.59
#8F3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD1#FFFFFF#000000##FFFFFF
##8F3DD11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#836083
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3dd1;
/* rgb */ color: rgb(143, 61, 209);
/* oklch */ color: oklch(54.3% 0.217 305.6);
Tailwind
colors: {
  custom: {
    50: '#b579e0',
    500: '#8f3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd1;
$custom-light: #b579e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd1",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 273.243,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.21721,
    "h": 305.6
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#8F3DD1
secondary
#B1D595
accent
#E5438B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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