#8F49D2#8F49D2

#8F49D2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.203 H 304.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F49D2
RGBrgb(143, 73, 210)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 65%, 82%)
CMYKcmyk(31.9%, 65.2%, 0%, 17.6%)
CIE-LABlab(45.99, 54.63, -59.41)
CIE-LCHlch(45.99, 80.71, 312.60°)
OKLaboklab(55.82% 0.1136 -0.1686)
OKLCHoklch(55.82% 0.203 304)
XYZxyz(25.3405, 15.2579, 62.5704)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49D2 #8CD249
analogous
#4A49D2 #8F49D2 #D249D0
triadic
#8F49D2 #D28F49 #49D28F
tetradic
#8F49D2 #D24A49 #8CD249 #49D0D2
square
#8F49D2 #D24A49 #8CD249 #49D0D2
split-complementary
#8F49D2 #D0D249 #49D24A
monochromatic
#512081 #702CB2 #8F49D2 #AD7ADE #CBABEA

Accessibility & contrast

On white

5.18
#8F49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8F49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49D2#FFFFFF#000000##FFFFFF
##8F49D21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#826787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f49d2;
/* rgb */ color: rgb(143, 73, 210);
/* oklch */ color: oklch(55.8% 0.203 304.0);
Tailwind
colors: {
  custom: {
    50: '#b480e1',
    500: '#8f49d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f49d2;
$custom-light: #b480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49d2",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 270.657,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.2033,
    "h": 304
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#8F49D2
secondary
#BBD89F
accent
#E34492
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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