#8F3BD5#8F3BD5

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

Color values

HEX#8F3BD5
RGBrgb(143, 59, 213)
HSLhsl(273, 65%, 53%)
HSVhsv(273, 72%, 84%)
CMYKcmyk(32.9%, 72.3%, 0%, 16.5%)
CIE-LABlab(43.90, 61.72, -64.50)
CIE-LCHlch(43.90, 89.27, 313.74°)
OKLaboklab(54.4% 0.1276 -0.1835)
OKLCHoklch(54.4% 0.223 304.8)
XYZxyz(24.8992, 13.7718, 64.2844)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BD5 #81D53B
analogous
#423BD5 #8F3BD5 #D53BCE
triadic
#8F3BD5 #D58F3B #3BD58F
tetradic
#8F3BD5 #D5423B #81D53B #3BCED5
square
#8F3BD5 #D5423B #81D53B #3BCED5
split-complementary
#8F3BD5 #CED53B #3BD542
monochromatic
#4F1A7B #7025AE #8F3BD5 #AC6DE0 #C9A0EB

Accessibility & contrast

On white

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

On black

3.75
#8F3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F3BD5#FFFFFF#000000##FFFFFF
##8F3BD51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#826085
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3bd5;
/* rgb */ color: rgb(143, 59, 213);
/* oklch */ color: oklch(54.4% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#b578e3',
    500: '#8f3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bd5;
$custom-light: #b578e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bd5",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.544,
    "c": 0.22349,
    "h": 304.8
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#8F3BD5
secondary
#B3D795
accent
#E8408C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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