#8F46C8#8F46C8

#8F46C8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.197 H 306.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F46C8
RGBrgb(143, 70, 200)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 65%, 78%)
CMYKcmyk(28.5%, 65%, 0%, 21.6%)
CIE-LABlab(44.79, 53.75, -55.58)
CIE-LCHlch(44.79, 77.32, 314.05°)
OKLaboklab(54.74% 0.1178 -0.1573)
OKLCHoklch(54.74% 0.197 306.8)
XYZxyz(23.9410, 14.3904, 56.1488)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46C8 #7FC846
analogous
#4E46C8 #8F46C8 #C846C0
triadic
#8F46C8 #C88F46 #46C88F
tetradic
#8F46C8 #C84E46 #7FC846 #46C0C8
square
#8F46C8 #C84E46 #7FC846 #46C0C8
split-complementary
#8F46C8 #C0C846 #46C84E
monochromatic
#4F2272 #6F30A1 #8F46C8 #AC75D6 #C8A4E4

Accessibility & contrast

On white

5.42
#8F46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8F46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46C8#FFFFFF#000000##FFFFFF
##8F46C81.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#296AC5
Tritanopia (blue-blind)
#866181
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f46c8;
/* rgb */ color: rgb(143, 70, 200);
/* oklch */ color: oklch(54.7% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#b47ed9',
    500: '#8f46c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f46c8;
$custom-light: #b47ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46c8",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 273.692,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.19655,
    "h": 306.8
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#8F46C8
secondary
#B1D199
accent
#DE4A8B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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