#8F49CC#8F49CC

#8F49CC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.197 H 305.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F49CC
RGBrgb(143, 73, 204)
HSLhsl(272, 56%, 54%)
HSVhsv(272, 64%, 80%)
CMYKcmyk(29.9%, 64.2%, 0%, 20%)
CIE-LABlab(45.59, 53.22, -56.60)
CIE-LCHlch(45.59, 77.69, 313.24°)
OKLaboklab(55.4% 0.1141 -0.1603)
OKLCHoklch(55.4% 0.197 305.4)
XYZxyz(24.6069, 14.9645, 58.7071)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49CC #86CC49
analogous
#4E49CC #8F49CC #CC49C8
triadic
#8F49CC #CC8F49 #49CC8F
tetradic
#8F49CC #CC4E49 #86CC49 #49C8CC
square
#8F49CC #CC4E49 #86CC49 #49C8CC
split-complementary
#8F49CC #C8CC49 #49CC4E
monochromatic
#502279 #702FA9 #8F49CC #AC79D9 #CAA9E7

Accessibility & contrast

On white

5.26
#8F49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49CC#FFFFFF#000000##FFFFFF
##8F49CC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#846584
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f49cc;
/* rgb */ color: rgb(143, 73, 204);
/* oklch */ color: oklch(55.4% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#b480dc',
    500: '#8f49cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f49cc;
$custom-light: #b480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49cc",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 272.061,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.1968,
    "h": 305.4
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#8F49CC
secondary
#B6D49D
accent
#E0488F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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