#8147CC#8147CC

#8147CC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.197 H 299.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8147CC
RGBrgb(129, 71, 204)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(36.8%, 65.2%, 0%, 20%)
CIE-LABlab(43.56, 51.23, -59.96)
CIE-LCHlch(43.56, 78.87, 310.51°)
OKLaboklab(53.57% 0.0976 -0.1707)
OKLCHoklch(53.57% 0.197 299.8)
XYZxyz(22.2029, 13.5330, 58.5574)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147CC #92CC47
analogous
#4750CC #8147CC #C347CC
triadic
#8147CC #CC8147 #47CC81
tetradic
#8147CC #CC4750 #92CC47 #47CCC3
square
#8147CC #CC4750 #92CC47 #47CCC3
split-complementary
#8147CC #CCC347 #50CC47
monochromatic
#472177 #632EA7 #8147CC #A277D9 #C3A7E7

Accessibility & contrast

On white

5.67
#8147CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8147CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147CC#FFFFFF#000000##FFFFFF
##8147CC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#706583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8147cc;
/* rgb */ color: rgb(129, 71, 204);
/* oklch */ color: oklch(53.6% 0.197 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab7edc',
    500: '#8147cc',
    950: '#000000',
  },
}
SCSS
$custom: #8147cc;
$custom-light: #ab7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8147cc",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 266.165,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.19664,
    "h": 299.8
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#8147CC
secondary
#BBD49B
accent
#E0489E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8147CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva