#8F3CBD#8F3CBD

#8F3CBD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.8% C 0.198 H 310.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F3CBD
RGBrgb(143, 60, 189)
HSLhsl(279, 52%, 49%)
HSVhsv(279, 68%, 74%)
CMYKcmyk(24.3%, 68.3%, 0%, 25.9%)
CIE-LABlab(42.38, 55.96, -53.06)
CIE-LCHlch(42.38, 77.11, 316.52°)
OKLaboklab(52.78% 0.1299 -0.1499)
OKLCHoklch(52.78% 0.198 310.9)
XYZxyz(22.1271, 12.7460, 49.4288)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CBD #6ABD3C
analogous
#4F3CBD #8F3CBD #BD3CAB
triadic
#8F3CBD #BD8F3C #3CBD8F
tetradic
#8F3CBD #BD4F3C #6ABD3C #3CABBD
square
#8F3CBD #BD4F3C #6ABD3C #3CABBD
split-complementary
#8F3CBD #ABBD3C #3CBD4F
monochromatic
#491F60 #6C2D8F #8F3CBD #AA67CF #C496DE

Accessibility & contrast

On white

5.92
#8F3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3CBD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CBD#FFFFFF#000000##FFFFFF
##8F3CBD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#895778
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3cbd;
/* rgb */ color: rgb(143, 60, 189);
/* oklch */ color: oklch(52.8% 0.198 310.9);
Tailwind
colors: {
  custom: {
    50: '#b478d2',
    500: '#8f3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cbd;
$custom-light: #b478d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cbd",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 278.605,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52783,
    "c": 0.19835,
    "h": 310.9
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#8F3CBD
secondary
#A2C98C
accent
#DB4D7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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