#8F3EBA#8F3EBA

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

Color values

HEX#8F3EBA
RGBrgb(143, 62, 186)
HSLhsl(279, 50%, 49%)
HSVhsv(279, 67%, 73%)
CMYKcmyk(23.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(42.51, 54.40, -51.09)
CIE-LCHlch(42.51, 74.63, 316.79°)
OKLaboklab(52.81% 0.128 -0.1441)
OKLCHoklch(52.81% 0.193 311.6)
XYZxyz(21.9116, 12.8306, 47.7671)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EBA #69BA3E
analogous
#513EBA #8F3EBA #BA3EA7
triadic
#8F3EBA #BA8F3E #3EBA8F
tetradic
#8F3EBA #BA513E #69BA3E #3EA7BA
square
#8F3EBA #BA513E #69BA3E #3EA7BA
split-complementary
#8F3EBA #A7BA3E #3EBA51
monochromatic
#481F5E #6C2F8C #8F3EBA #AA68CD #C496DC

Accessibility & contrast

On white

5.89
#8F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3EBA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EBA#FFFFFF#000000##FFFFFF
##8F3EBA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#8A5777
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3eba;
/* rgb */ color: rgb(143, 62, 186);
/* oklch */ color: oklch(52.8% 0.193 311.6);
Tailwind
colors: {
  custom: {
    50: '#b479cf',
    500: '#8f3eba',
    950: '#000000',
  },
}
SCSS
$custom: #8f3eba;
$custom-light: #b479cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3eba",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 279.194,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.19273,
    "h": 311.6
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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