#8F49D0#8F49D0

#8F49D0 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.201 H 304.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8F49D0
RGBrgb(143, 73, 208)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 65%, 82%)
CMYKcmyk(31.3%, 64.9%, 0%, 18.4%)
CIE-LABlab(45.85, 54.16, -58.47)
CIE-LCHlch(45.85, 79.70, 312.80°)
OKLaboklab(55.68% 0.1138 -0.1659)
OKLCHoklch(55.68% 0.201 304.5)
XYZxyz(25.0928, 15.1589, 61.2663)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49D0 #8AD049
analogous
#4B49D0 #8F49D0 #D049CE
triadic
#8F49D0 #D08F49 #49D08F
tetradic
#8F49D0 #D04B49 #8AD049 #49CED0
square
#8F49D0 #D04B49 #8AD049 #49CED0
split-complementary
#8F49D0 #CED049 #49D04B
monochromatic
#51217E #702DAF #8F49D0 #AD7ADD #CBAAE9

Accessibility & contrast

On white

5.21
#8F49D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8F49D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49D0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49D0#FFFFFF#000000##FFFFFF
##8F49D01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#206DCD
Tritanopia (blue-blind)
#836686
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f49d0;
/* rgb */ color: rgb(143, 73, 208);
/* oklch */ color: oklch(55.7% 0.201 304.5);
Tailwind
colors: {
  custom: {
    50: '#b480df',
    500: '#8f49d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f49d0;
$custom-light: #b480df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49d0",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 271.111,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.20114,
    "h": 304.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#8F49D0
secondary
#B9D79E
accent
#E24691
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49D0

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

Preview Lab → · Contrast checker → · Palette generator →

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