#8F46D7#8F46D7

#8F46D7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.212 H 303.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8F46D7
RGBrgb(143, 70, 215)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(33.5%, 67.4%, 0%, 15.7%)
CIE-LABlab(45.81, 57.25, -62.56)
CIE-LCHlch(45.81, 84.80, 312.46°)
OKLaboklab(55.8% 0.1163 -0.1778)
OKLCHoklch(55.8% 0.213 303.2)
XYZxyz(25.7807, 15.1263, 65.8383)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46D7 #8ED746
analogous
#4646D7 #8F46D7 #D746D6
triadic
#8F46D7 #D78F46 #46D78F
tetradic
#8F46D7 #D74646 #8ED746 #46D6D7
square
#8F46D7 #D74646 #8ED746 #46D6D7
split-complementary
#8F46D7 #D6D746 #46D746
monochromatic
#521D86 #7028B8 #8F46D7 #AD78E2 #CCABED

Accessibility & contrast

On white

5.22
#8F46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8F46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46D7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46D7#FFFFFF#000000##FFFFFF
##8F46D71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#816789
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f46d7;
/* rgb */ color: rgb(143, 70, 215);
/* oklch */ color: oklch(55.8% 0.212 303.2);
Tailwind
colors: {
  custom: {
    50: '#b57ee4',
    500: '#8f46d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f46d7;
$custom-light: #b57ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46d7",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 270.207,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.2125,
    "h": 303.2
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#8F46D7
secondary
#BCDA9E
accent
#E74093
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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