#8F3DBB#8F3DBB

#8F3DBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.195 H 311.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8F3DBB
RGBrgb(143, 61, 187)
HSLhsl(279, 51%, 49%)
HSVhsv(279, 67%, 73%)
CMYKcmyk(23.5%, 67.4%, 0%, 26.7%)
CIE-LABlab(42.41, 55.07, -51.84)
CIE-LCHlch(42.41, 75.63, 316.73°)
OKLaboklab(52.76% 0.129 -0.1463)
OKLCHoklch(52.76% 0.195 311.4)
XYZxyz(21.9644, 12.7655, 48.3110)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DBB #69BB3D
analogous
#503DBB #8F3DBB #BB3DA8
triadic
#8F3DBB #BB8F3D #3DBB8F
tetradic
#8F3DBB #BB503D #69BB3D #3DA8BB
square
#8F3DBB #BB503D #69BB3D #3DA8BB
split-complementary
#8F3DBB #A8BB3D #3DBB50
monochromatic
#481F5F #6C2E8D #8F3DBB #AA68CE #C496DD

Accessibility & contrast

On white

5.91
#8F3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DBB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DBB#FFFFFF#000000##FFFFFF
##8F3DBB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2E66B8
Tritanopia (blue-blind)
#8A5777
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3dbb;
/* rgb */ color: rgb(143, 61, 187);
/* oklch */ color: oklch(52.8% 0.195 311.4);
Tailwind
colors: {
  custom: {
    50: '#b479d0',
    500: '#8f3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dbb;
$custom-light: #b479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dbb",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 279.048,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.19506,
    "h": 311.4
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#8F3DBB
secondary
#A1C88C
accent
#DA4E7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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