#8F3FDA#8F3FDA

#8F3FDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.224 H 303.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8F3FDA
RGBrgb(143, 63, 218)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 71%, 85%)
CMYKcmyk(34.4%, 71.1%, 0%, 14.5%)
CIE-LABlab(44.88, 61.14, -65.78)
CIE-LCHlch(44.88, 89.81, 312.91°)
OKLaboklab(55.21% 0.1229 -0.1873)
OKLCHoklch(55.21% 0.224 303.3)
XYZxyz(25.7571, 14.4566, 67.7495)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FDA #8ADA3F
analogous
#423FDA #8F3FDA #DA3FD7
triadic
#8F3FDA #DA8F3F #3FDA8F
tetradic
#8F3FDA #DA423F #8ADA3F #3FD7DA
square
#8F3FDA #DA423F #8ADA3F #3FD7DA
split-complementary
#8F3FDA #D7DA3F #3FDA42
monochromatic
#511A85 #7024B8 #8F3FDA #AD72E4 #CBA6EE

Accessibility & contrast

On white

5.40
#8F3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8F3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FDA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FDA#FFFFFF#000000##FFFFFF
##8F3FDA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#806489
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f3fda;
/* rgb */ color: rgb(143, 63, 218);
/* oklch */ color: oklch(55.2% 0.224 303.3);
Tailwind
colors: {
  custom: {
    50: '#b67be6',
    500: '#8f3fda',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fda;
$custom-light: #b67be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fda",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 270.968,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.224,
    "h": 303.3
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#8F3FDA
secondary
#B9DB9A
accent
#EB3D91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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