#8F46D3#8F46D3

#8F46D3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.208 H 304.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F46D3
RGBrgb(143, 70, 211)
HSLhsl(271, 62%, 55%)
HSVhsv(271, 67%, 83%)
CMYKcmyk(32.2%, 66.8%, 0%, 17.3%)
CIE-LABlab(45.53, 56.31, -60.72)
CIE-LCHlch(45.53, 82.81, 312.84°)
OKLaboklab(55.51% 0.1168 -0.1724)
OKLCHoklch(55.51% 0.208 304.1)
XYZxyz(25.2731, 14.9232, 63.1644)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46D3 #8AD346
analogous
#4946D3 #8F46D3 #D346D0
triadic
#8F46D3 #D38F46 #46D38F
tetradic
#8F46D3 #D34946 #8AD346 #46D0D3
square
#8F46D3 #D34946 #8AD346 #46D0D3
split-complementary
#8F46D3 #D0D346 #46D349
monochromatic
#511E80 #702AB2 #8F46D3 #AD77DF #CBA9EB

Accessibility & contrast

On white

5.27
#8F46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8F46D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46D3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46D3#FFFFFF#000000##FFFFFF
##8F46D31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#106CD0
Tritanopia (blue-blind)
#826687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f46d3;
/* rgb */ color: rgb(143, 70, 211);
/* oklch */ color: oklch(55.5% 0.208 304.1);
Tailwind
colors: {
  custom: {
    50: '#b57ee1',
    500: '#8f46d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f46d3;
$custom-light: #b57ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46d3",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 271.064,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.20826,
    "h": 304.1
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#8F46D3
secondary
#B9D89D
accent
#E54391
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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