#8F46CE#8F46CE

#8F46CE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.203 H 305.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8F46CE
RGBrgb(143, 70, 206)
HSLhsl(272, 58%, 54%)
HSVhsv(272, 66%, 81%)
CMYKcmyk(30.6%, 66%, 0%, 19.2%)
CIE-LABlab(45.19, 55.14, -58.39)
CIE-LCHlch(45.19, 80.32, 313.36°)
OKLaboklab(55.16% 0.1173 -0.1656)
OKLCHoklch(55.16% 0.203 305.3)
XYZxyz(24.6560, 14.6764, 59.9145)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46CE #85CE46
analogous
#4B46CE #8F46CE #CE46C9
triadic
#8F46CE #CE8F46 #46CE8F
tetradic
#8F46CE #CE4B46 #85CE46 #46C9CE
square
#8F46CE #CE4B46 #85CE46 #46C9CE
split-complementary
#8F46CE #C9CE46 #46CE4B
monochromatic
#502079 #702DAA #8F46CE #AC76DB #CAA7E8

Accessibility & contrast

On white

5.34
#8F46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46CE#FFFFFF#000000##FFFFFF
##8F46CE1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#846484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f46ce;
/* rgb */ color: rgb(143, 70, 206);
/* oklch */ color: oklch(55.2% 0.203 305.3);
Tailwind
colors: {
  custom: {
    50: '#b47ede',
    500: '#8f46ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f46ce;
$custom-light: #b47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46ce",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 272.206,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.20294,
    "h": 305.3
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#8F46CE
secondary
#B6D59B
accent
#E1468E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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