#8F49D1#8F49D1

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

Color values

HEX#8F49D1
RGBrgb(143, 73, 209)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 65%, 82%)
CMYKcmyk(31.6%, 65.1%, 0%, 18%)
CIE-LABlab(45.92, 54.39, -58.94)
CIE-LCHlch(45.92, 80.20, 312.70°)
OKLaboklab(55.75% 0.1137 -0.1672)
OKLCHoklch(55.75% 0.202 304.2)
XYZxyz(25.2163, 15.2083, 61.9163)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49D1 #8BD149
analogous
#4B49D1 #8F49D1 #D149CF
triadic
#8F49D1 #D18F49 #49D18F
tetradic
#8F49D1 #D14B49 #8BD149 #49CFD1
square
#8F49D1 #D14B49 #8BD149 #49CFD1
split-complementary
#8F49D1 #CFD149 #49D14B
monochromatic
#51207F #702DB0 #8F49D1 #AD7ADD #CBABEA

Accessibility & contrast

On white

5.20
#8F49D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8F49D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49D1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49D1#FFFFFF#000000##FFFFFF
##8F49D11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#1E6DCE
Tritanopia (blue-blind)
#836787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f49d1;
/* rgb */ color: rgb(143, 73, 209);
/* oklch */ color: oklch(55.7% 0.202 304.2);
Tailwind
colors: {
  custom: {
    50: '#b480e0',
    500: '#8f49d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f49d1;
$custom-light: #b480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49d1",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 270.882,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.20222,
    "h": 304.2
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#8F49D1
secondary
#BAD79E
accent
#E34592
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49D1

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

Preview Lab → · Contrast checker → · Palette generator →

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