#8F49D5#8F49D5

#8F49D5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.207 H 303.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8F49D5
RGBrgb(143, 73, 213)
HSLhsl(270, 63%, 56%)
HSVhsv(270, 66%, 84%)
CMYKcmyk(32.9%, 65.7%, 0%, 16.5%)
CIE-LABlab(46.19, 55.34, -60.80)
CIE-LCHlch(46.19, 82.21, 312.31°)
OKLaboklab(56.03% 0.1133 -0.1727)
OKLCHoklch(56.03% 0.207 303.3)
XYZxyz(25.7177, 15.4088, 64.5572)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49D5 #8FD549
analogous
#4949D5 #8F49D5 #D549D5
triadic
#8F49D5 #D58F49 #49D58F
tetradic
#8F49D5 #D54949 #8FD549 #49D5D5
square
#8F49D5 #D54949 #8FD549 #49D5D5
split-complementary
#8F49D5 #D5D549 #49D549
monochromatic
#521F85 #702AB7 #8F49D5 #AE7BE0 #CCACEC

Accessibility & contrast

On white

5.14
#8F49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F49D5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49D5#FFFFFF#000000##FFFFFF
##8F49D51.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#136DD2
Tritanopia (blue-blind)
#816889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f49d5;
/* rgb */ color: rgb(143, 73, 213);
/* oklch */ color: oklch(56.0% 0.207 303.3);
Tailwind
colors: {
  custom: {
    50: '#b580e3',
    500: '#8f49d5',
    950: '#000000',
  },
}
SCSS
$custom: #8f49d5;
$custom-light: #b580e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49d5",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.20654,
    "h": 303.3
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#8F49D5
secondary
#BDDAA0
accent
#E64294
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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