#8F46D4#8F46D4

#8F46D4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.209 H 303.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F46D4
RGBrgb(143, 70, 212)
HSLhsl(271, 62%, 55%)
HSVhsv(271, 67%, 83%)
CMYKcmyk(32.5%, 67%, 0%, 16.9%)
CIE-LABlab(45.60, 56.55, -61.18)
CIE-LCHlch(45.60, 83.31, 312.75°)
OKLaboklab(55.58% 0.1167 -0.1738)
OKLCHoklch(55.58% 0.209 303.9)
XYZxyz(25.3988, 14.9735, 63.8267)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46D4 #8BD446
analogous
#4846D4 #8F46D4 #D446D2
triadic
#8F46D4 #D48F46 #46D48F
tetradic
#8F46D4 #D44846 #8BD446 #46D2D4
square
#8F46D4 #D44846 #8BD446 #46D2D4
split-complementary
#8F46D4 #D2D446 #46D448
monochromatic
#511E81 #702AB3 #8F46D4 #AD78E0 #CBA9EB

Accessibility & contrast

On white

5.26
#8F46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46D4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46D4#FFFFFF#000000##FFFFFF
##8F46D41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0C6CD1
Tritanopia (blue-blind)
#826687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f46d4;
/* rgb */ color: rgb(143, 70, 212);
/* oklch */ color: oklch(55.6% 0.209 303.9);
Tailwind
colors: {
  custom: {
    50: '#b57ee2',
    500: '#8f46d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f46d4;
$custom-light: #b57ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46d4",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 270.845,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.20932,
    "h": 303.9
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#8F46D4
secondary
#BAD99D
accent
#E54292
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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