#8F46CC#8F46CC

#8F46CC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.201 H 305.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8F46CC
RGBrgb(143, 70, 204)
HSLhsl(273, 57%, 54%)
HSVhsv(273, 66%, 80%)
CMYKcmyk(29.9%, 65.7%, 0%, 20%)
CIE-LABlab(45.05, 54.68, -57.46)
CIE-LCHlch(45.05, 79.32, 313.58°)
OKLaboklab(55.02% 0.1175 -0.1629)
OKLCHoklch(55.02% 0.201 305.8)
XYZxyz(24.4146, 14.5798, 58.6430)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46CC #83CC46
analogous
#4C46CC #8F46CC #CC46C6
triadic
#8F46CC #CC8F46 #46CC8F
tetradic
#8F46CC #CC4C46 #83CC46 #46C6CC
square
#8F46CC #CC4C46 #83CC46 #46C6CC
split-complementary
#8F46CC #C6CC46 #46CC4C
monochromatic
#502177 #702EA7 #8F46CC #AC76D9 #C9A6E6

Accessibility & contrast

On white

5.36
#8F46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46CC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46CC#FFFFFF#000000##FFFFFF
##8F46CC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#846383
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f46cc;
/* rgb */ color: rgb(143, 70, 204);
/* oklch */ color: oklch(55.0% 0.201 305.8);
Tailwind
colors: {
  custom: {
    50: '#b47edc',
    500: '#8f46cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f46cc;
$custom-light: #b47edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46cc",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 272.687,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.20081,
    "h": 305.8
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#8F46CC
secondary
#B4D49A
accent
#E0488D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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