#8F46DC#8F46DC

#8F46DC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.218 H 302.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8F46DC
RGBrgb(143, 70, 220)
HSLhsl(269, 68%, 57%)
HSVhsv(269, 68%, 86%)
CMYKcmyk(35%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.16, 58.44, -64.84)
CIE-LCHlch(46.16, 87.29, 312.02°)
OKLaboklab(56.16% 0.1156 -0.1846)
OKLCHoklch(56.16% 0.218 302.1)
XYZxyz(26.4330, 15.3872, 69.2737)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46DC #93DC46
analogous
#4648DC #8F46DC #DA46DC
triadic
#8F46DC #DC8F46 #46DC8F
tetradic
#8F46DC #DC4648 #93DC46 #46DCDA
square
#8F46DC #DC4648 #93DC46 #46DCDA
split-complementary
#8F46DC #DCDA46 #48DC46
monochromatic
#521B8D #7024C0 #8F46DC #AE79E6 #CDADEF

Accessibility & contrast

On white

5.15
#8F46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8F46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46DC#FFFFFF#000000##FFFFFF
##8F46DC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#7F698C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f46dc;
/* rgb */ color: rgb(143, 70, 220);
/* oklch */ color: oklch(56.2% 0.218 302.1);
Tailwind
colors: {
  custom: {
    50: '#b57fe8',
    500: '#8f46dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f46dc;
$custom-light: #b57fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46dc",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 269.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.21779,
    "h": 302.1
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#8F46DC
secondary
#C0DDA0
accent
#EB3D96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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