#8F3DBE#8F3DBE

#8F3DBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 53.0% C 0.198 H 310.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F3DBE
RGBrgb(143, 61, 190)
HSLhsl(278, 51%, 49%)
HSVhsv(278, 68%, 75%)
CMYKcmyk(24.7%, 67.9%, 0%, 25.5%)
CIE-LABlab(42.61, 55.73, -53.28)
CIE-LCHlch(42.61, 77.10, 316.29°)
OKLaboklab(52.97% 0.1287 -0.1505)
OKLCHoklch(52.97% 0.198 310.5)
XYZxyz(22.2889, 12.8953, 50.0201)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DBE #6CBE3D
analogous
#4F3DBE #8F3DBE #BE3DAC
triadic
#8F3DBE #BE8F3D #3DBE8F
tetradic
#8F3DBE #BE4F3D #6CBE3D #3DACBE
square
#8F3DBE #BE4F3D #6CBE3D #3DACBE
split-complementary
#8F3DBE #ACBE3D #3DBE4F
monochromatic
#491F61 #6C2E90 #8F3DBE #AA69CF #C498DE

Accessibility & contrast

On white

5.87
#8F3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DBE#FFFFFF#000000##FFFFFF
##8F3DBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#895879
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3dbe;
/* rgb */ color: rgb(143, 61, 190);
/* oklch */ color: oklch(53.0% 0.198 310.5);
Tailwind
colors: {
  custom: {
    50: '#b479d2',
    500: '#8f3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dbe;
$custom-light: #b479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dbe",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 278.14,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.19807,
    "h": 310.5
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#8F3DBE
secondary
#A3C98D
accent
#DB4D81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8F3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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