#8F3CD9#8F3CD9

#8F3CD9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.226 H 303.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F3CD9
RGBrgb(143, 60, 217)
HSLhsl(272, 67%, 54%)
HSVhsv(272, 72%, 85%)
CMYKcmyk(34.1%, 72.4%, 0%, 14.9%)
CIE-LABlab(44.35, 62.21, -66.07)
CIE-LCHlch(44.35, 90.75, 313.28°)
OKLaboklab(54.81% 0.1259 -0.1881)
OKLCHoklch(54.81% 0.226 303.8)
XYZxyz(25.4650, 14.0812, 67.0086)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CD9 #86D93C
analogous
#413CD9 #8F3CD9 #D93CD4
triadic
#8F3CD9 #D98F3C #3CD98F
tetradic
#8F3CD9 #D9413C #86D93C #3CD4D9
square
#8F3CD9 #D9413C #86D93C #3CD4D9
split-complementary
#8F3CD9 #D4D93C #3CD941
monochromatic
#501981 #7023B5 #8F3CD9 #AC6FE3 #CAA2ED

Accessibility & contrast

On white

5.50
#8F3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F3CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CD9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CD9#FFFFFF#000000##FFFFFF
##8F3CD91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#806287
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3cd9;
/* rgb */ color: rgb(143, 60, 217);
/* oklch */ color: oklch(54.8% 0.226 303.8);
Tailwind
colors: {
  custom: {
    50: '#b679e6',
    500: '#8f3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cd9;
$custom-light: #b679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cd9",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 271.72,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.22636,
    "h": 303.8
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#8F3CD9
secondary
#B6DA97
accent
#EA3E8F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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