#8F3BD2#8F3BD2

#8F3BD2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.221 H 305.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8F3BD2
RGBrgb(143, 59, 210)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 72%, 82%)
CMYKcmyk(31.9%, 71.9%, 0%, 17.6%)
CIE-LABlab(43.68, 61.04, -63.13)
CIE-LCHlch(43.68, 87.82, 314.04°)
OKLaboklab(54.18% 0.1281 -0.1795)
OKLCHoklch(54.18% 0.221 305.5)
XYZxyz(24.5219, 13.6209, 62.2975)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BD2 #7ED23B
analogous
#433BD2 #8F3BD2 #D23BCA
triadic
#8F3BD2 #D28F3B #3BD28F
tetradic
#8F3BD2 #D2433B #7ED23B #3BCAD2
square
#8F3BD2 #D2433B #7ED23B #3BCAD2
split-complementary
#8F3BD2 #CAD23B #3BD243
monochromatic
#4E1B77 #6F27A9 #8F3BD2 #AB6DDD #C89FE9

Accessibility & contrast

On white

5.64
#8F3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8F3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BD2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BD2#FFFFFF#000000##FFFFFF
##8F3BD21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#835F83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3bd2;
/* rgb */ color: rgb(143, 59, 210);
/* oklch */ color: oklch(54.2% 0.221 305.5);
Tailwind
colors: {
  custom: {
    50: '#b578e1',
    500: '#8f3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bd2;
$custom-light: #b578e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bd2",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 273.377,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.22051,
    "h": 305.5
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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