#8F3FBB#8F3FBB

#8F3FBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.192 H 311.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F3FBB
RGBrgb(143, 63, 187)
HSLhsl(279, 50%, 49%)
HSVhsv(279, 66%, 73%)
CMYKcmyk(23.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(42.74, 54.16, -51.31)
CIE-LCHlch(42.74, 74.60, 316.55°)
OKLaboklab(53% 0.1268 -0.1448)
OKLCHoklch(53% 0.192 311.2)
XYZxyz(22.0732, 12.9830, 48.3473)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FBB #6BBB3F
analogous
#513FBB #8F3FBB #BB3FA9
triadic
#8F3FBB #BB8F3F #3FBB8F
tetradic
#8F3FBB #BB513F #6BBB3F #3FA9BB
square
#8F3FBB #BB513F #6BBB3F #3FA9BB
split-complementary
#8F3FBB #A9BB3F #3FBB51
monochromatic
#49205F #6C308D #8F3FBB #AA6ACD #C498DC

Accessibility & contrast

On white

5.84
#8F3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FBB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FBB#FFFFFF#000000##FFFFFF
##8F3FBB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3166B8
Tritanopia (blue-blind)
#8A5878
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3fbb;
/* rgb */ color: rgb(143, 63, 187);
/* oklch */ color: oklch(53.0% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#b47ad0',
    500: '#8f3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fbb;
$custom-light: #b47ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fbb",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 278.71,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.19242,
    "h": 311.2
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#8F3FBB
secondary
#A2C88E
accent
#D94F80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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