#8F46CF#8F46CF

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

Color values

HEX#8F46CF
RGBrgb(143, 70, 207)
HSLhsl(272, 59%, 54%)
HSVhsv(272, 66%, 81%)
CMYKcmyk(30.9%, 66.2%, 0%, 18.8%)
CIE-LABlab(45.26, 55.38, -58.86)
CIE-LCHlch(45.26, 80.81, 313.25°)
OKLaboklab(55.23% 0.1172 -0.167)
OKLCHoklch(55.23% 0.204 305.1)
XYZxyz(24.7778, 14.7251, 60.5563)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46CF #86CF46
analogous
#4B46CF #8F46CF #CF46CA
triadic
#8F46CF #CF8F46 #46CF8F
tetradic
#8F46CF #CF4B46 #86CF46 #46CACF
square
#8F46CF #CF4B46 #86CF46 #46CACF
split-complementary
#8F46CF #CACF46 #46CF4B
monochromatic
#50207B #702CAB #8F46CF #AC77DC #CAA7E8

Accessibility & contrast

On white

5.32
#8F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F46CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46CF#FFFFFF#000000##FFFFFF
##8F46CF1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#836485
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f46cf;
/* rgb */ color: rgb(143, 70, 207);
/* oklch */ color: oklch(55.2% 0.204 305.1);
Tailwind
colors: {
  custom: {
    50: '#b47ede',
    500: '#8f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f46cf;
$custom-light: #b47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46cf",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 271.971,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.20401,
    "h": 305.1
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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