#8F49CB#8F49CB

#8F49CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.196 H 305.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F49CB
RGBrgb(143, 73, 203)
HSLhsl(272, 56%, 54%)
HSVhsv(272, 64%, 80%)
CMYKcmyk(29.6%, 64%, 0%, 20.4%)
CIE-LABlab(45.52, 52.98, -56.13)
CIE-LCHlch(45.52, 77.19, 313.35°)
OKLaboklab(55.34% 0.1142 -0.159)
OKLCHoklch(55.34% 0.196 305.7)
XYZxyz(24.4874, 14.9167, 58.0775)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49CB #85CB49
analogous
#4E49CB #8F49CB #CB49C6
triadic
#8F49CB #CB8F49 #49CB8F
tetradic
#8F49CB #CB4E49 #85CB49 #49C6CB
square
#8F49CB #CB4E49 #85CB49 #49C6CB
split-complementary
#8F49CB #C6CB49 #49CB4E
monochromatic
#502277 #7030A7 #8F49CB #AC79D9 #CAA8E6

Accessibility & contrast

On white

5.27
#8F49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8F49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49CB#FFFFFF#000000##FFFFFF
##8F49CB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#856484
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f49cb;
/* rgb */ color: rgb(143, 73, 203);
/* oklch */ color: oklch(55.3% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#b480dc',
    500: '#8f49cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f49cb;
$custom-light: #b480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49cb",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 272.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.19571,
    "h": 305.7
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#8F49CB
secondary
#B6D49C
accent
#DF498E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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