#8F3FD9#8F3FD9

#8F3FD9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.223 H 303.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8F3FD9
RGBrgb(143, 63, 217)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 71%, 85%)
CMYKcmyk(34.1%, 71%, 0%, 14.9%)
CIE-LABlab(44.81, 60.91, -65.32)
CIE-LCHlch(44.81, 89.32, 313.00°)
OKLaboklab(55.13% 0.1231 -0.1859)
OKLCHoklch(55.13% 0.223 303.5)
XYZxyz(25.6267, 14.4044, 67.0624)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FD9 #89D93F
analogous
#423FD9 #8F3FD9 #D93FD6
triadic
#8F3FD9 #D98F3F #3FD98F
tetradic
#8F3FD9 #D9423F #89D93F #3FD6D9
square
#8F3FD9 #D9423F #89D93F #3FD6D9
split-complementary
#8F3FD9 #D6D93F #3FD942
monochromatic
#511A84 #7024B7 #8F3FD9 #AD72E3 #CBA5ED

Accessibility & contrast

On white

5.41
#8F3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8F3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FD9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FD9#FFFFFF#000000##FFFFFF
##8F3FD91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#806488
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f3fd9;
/* rgb */ color: rgb(143, 63, 217);
/* oklch */ color: oklch(55.1% 0.223 303.5);
Tailwind
colors: {
  custom: {
    50: '#b67be6',
    500: '#8f3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fd9;
$custom-light: #b67be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fd9",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 271.169,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.22298,
    "h": 303.5
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#8F3FD9
secondary
#B9DA9A
accent
#EA3E91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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