#8F46D0#8F46D0

#8F46D0 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.205 H 304.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F46D0
RGBrgb(143, 70, 208)
HSLhsl(272, 59%, 55%)
HSVhsv(272, 66%, 82%)
CMYKcmyk(31.3%, 66.3%, 0%, 18.4%)
CIE-LABlab(45.32, 55.61, -59.33)
CIE-LCHlch(45.32, 81.31, 313.15°)
OKLaboklab(55.3% 0.1171 -0.1683)
OKLCHoklch(55.3% 0.205 304.8)
XYZxyz(24.9005, 14.7742, 61.2022)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46D0 #87D046
analogous
#4A46D0 #8F46D0 #D046CC
triadic
#8F46D0 #D08F46 #46D08F
tetradic
#8F46D0 #D04A46 #87D046 #46CCD0
square
#8F46D0 #D04A46 #87D046 #46CCD0
split-complementary
#8F46D0 #CCD046 #46D04A
monochromatic
#50207C #702CAD #8F46D0 #AD77DC #CAA8E9

Accessibility & contrast

On white

5.31
#8F46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8F46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46D0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46D0#FFFFFF#000000##FFFFFF
##8F46D01.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#196BCD
Tritanopia (blue-blind)
#836485
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f46d0;
/* rgb */ color: rgb(143, 70, 208);
/* oklch */ color: oklch(55.3% 0.205 304.8);
Tailwind
colors: {
  custom: {
    50: '#b47edf',
    500: '#8f46d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f46d0;
$custom-light: #b47edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46d0",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 271.739,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.553,
    "c": 0.20507,
    "h": 304.8
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#8F46D0
secondary
#B7D69C
accent
#E3458F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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