#8F3BD8#8F3BD8

#8F3BD8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.226 H 304.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F3BD8
RGBrgb(143, 59, 216)
HSLhsl(272, 67%, 54%)
HSVhsv(272, 73%, 85%)
CMYKcmyk(33.8%, 72.7%, 0%, 15.3%)
CIE-LABlab(44.13, 62.40, -65.86)
CIE-LCHlch(44.13, 90.73, 313.46°)
OKLaboklab(54.63% 0.127 -0.1875)
OKLCHoklch(54.63% 0.226 304.1)
XYZxyz(25.2835, 13.9255, 66.3083)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BD8 #84D83B
analogous
#413BD8 #8F3BD8 #D83BD3
triadic
#8F3BD8 #D88F3B #3BD88F
tetradic
#8F3BD8 #D8413B #84D83B #3BD3D8
square
#8F3BD8 #D8413B #84D83B #3BD3D8
split-complementary
#8F3BD8 #D3D83B #3BD841
monochromatic
#50197F #7023B2 #8F3BD8 #AC6EE2 #C9A1EC

Accessibility & contrast

On white

5.55
#8F3BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F3BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BD8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BD8#FFFFFF#000000##FFFFFF
##8F3BD81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#816186
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3bd8;
/* rgb */ color: rgb(143, 59, 216);
/* oklch */ color: oklch(54.6% 0.226 304.1);
Tailwind
colors: {
  custom: {
    50: '#b679e5',
    500: '#8f3bd8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bd8;
$custom-light: #b679e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bd8",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 216
  },
  "hsl": {
    "h": 272.102,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.22647,
    "h": 304.1
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#8F3BD8
secondary
#B5D996
accent
#EA3E8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F3BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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