#8F3BCA#8F3BCA

#8F3BCA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.213 H 307.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F3BCA
RGBrgb(143, 59, 202)
HSLhsl(275, 57%, 51%)
HSVhsv(275, 71%, 79%)
CMYKcmyk(29.2%, 70.8%, 0%, 20.8%)
CIE-LABlab(43.11, 59.25, -59.44)
CIE-LCHlch(43.11, 83.93, 314.91°)
OKLaboklab(53.59% 0.1294 -0.1686)
OKLCHoklch(53.59% 0.213 307.5)
XYZxyz(23.5501, 13.2322, 57.1791)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BCA #76CA3B
analogous
#473BCA #8F3BCA #CA3BBD
triadic
#8F3BCA #CA8F3B #3BCA8F
tetradic
#8F3BCA #CA473B #76CA3B #3BBDCA
square
#8F3BCA #CA473B #76CA3B #3BBDCA
split-complementary
#8F3BCA #BDCA3B #3BCA47
monochromatic
#4C1E6D #6E2B9D #8F3BCA #AB6BD7 #C69BE4

Accessibility & contrast

On white

5.76
#8F3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BCA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BCA#FFFFFF#000000##FFFFFF
##8F3BCA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0D67C7
Tritanopia (blue-blind)
#855C7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3bca;
/* rgb */ color: rgb(143, 59, 202);
/* oklch */ color: oklch(53.6% 0.213 307.5);
Tailwind
colors: {
  custom: {
    50: '#b578db',
    500: '#8f3bca',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bca;
$custom-light: #b578db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bca",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 275.245,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.21255,
    "h": 307.5
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#8F3BCA
secondary
#ABD091
accent
#E14786
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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