#8F3DBD#8F3DBD

#8F3DBD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.197 H 310.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F3DBD
RGBrgb(143, 61, 189)
HSLhsl(278, 51%, 49%)
HSVhsv(278, 68%, 74%)
CMYKcmyk(24.3%, 67.7%, 0%, 25.9%)
CIE-LABlab(42.54, 55.51, -52.80)
CIE-LCHlch(42.54, 76.61, 316.43°)
OKLaboklab(52.9% 0.1288 -0.1491)
OKLCHoklch(52.9% 0.197 310.8)
XYZxyz(22.1800, 12.8518, 49.4465)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DBD #6BBD3D
analogous
#4F3DBD #8F3DBD #BD3DAB
triadic
#8F3DBD #BD8F3D #3DBD8F
tetradic
#8F3DBD #BD4F3D #6BBD3D #3DABBD
square
#8F3DBD #BD4F3D #6BBD3D #3DABBD
split-complementary
#8F3DBD #ABBD3D #3DBD4F
monochromatic
#491F60 #6C2E8F #8F3DBD #AA69CE #C497DD

Accessibility & contrast

On white

5.88
#8F3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8F3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DBD#FFFFFF#000000##FFFFFF
##8F3DBD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#895878
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3dbd;
/* rgb */ color: rgb(143, 61, 189);
/* oklch */ color: oklch(52.9% 0.197 310.8);
Tailwind
colors: {
  custom: {
    50: '#b479d2',
    500: '#8f3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dbd;
$custom-light: #b479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dbd",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 278.438,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.19707,
    "h": 310.8
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#8F3DBD
secondary
#A2C98D
accent
#DB4D80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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