#8F3EBB#8F3EBB

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

Color values

HEX#8F3EBB
RGBrgb(143, 62, 187)
HSLhsl(279, 50%, 49%)
HSVhsv(279, 67%, 73%)
CMYKcmyk(23.5%, 66.8%, 0%, 26.7%)
CIE-LABlab(42.57, 54.62, -51.58)
CIE-LCHlch(42.57, 75.12, 316.64°)
OKLaboklab(52.88% 0.1279 -0.1455)
OKLCHoklch(52.88% 0.194 311.3)
XYZxyz(22.0183, 12.8733, 48.3290)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EBB #6ABB3E
analogous
#513EBB #8F3EBB #BB3EA9
triadic
#8F3EBB #BB8F3E #3EBB8F
tetradic
#8F3EBB #BB513E #6ABB3E #3EA9BB
square
#8F3EBB #BB513E #6ABB3E #3EA9BB
split-complementary
#8F3EBB #A9BB3E #3EBB51
monochromatic
#49205F #6C2F8D #8F3EBB #AA69CD #C497DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3EBB#FFFFFF#000000##FFFFFF
##8F3EBB1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#8A5877
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3ebb;
/* rgb */ color: rgb(143, 62, 187);
/* oklch */ color: oklch(52.9% 0.194 311.3);
Tailwind
colors: {
  custom: {
    50: '#b479d0',
    500: '#8f3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ebb;
$custom-light: #b479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ebb",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 278.88,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.19374,
    "h": 311.3
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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