#8147CB#8147CB

#8147CB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.196 H 300.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8147CB
RGBrgb(129, 71, 203)
HSLhsl(266, 56%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(36.5%, 65%, 0%, 20.4%)
CIE-LABlab(43.49, 50.98, -59.50)
CIE-LCHlch(43.49, 78.35, 310.59°)
OKLaboklab(53.5% 0.0977 -0.1693)
OKLCHoklch(53.5% 0.196 300)
XYZxyz(22.0833, 13.4852, 57.9278)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147CB #91CB47
analogous
#474FCB #8147CB #C347CB
triadic
#8147CB #CB8147 #47CB81
tetradic
#8147CB #CB474F #91CB47 #47CBC3
square
#8147CB #CB474F #91CB47 #47CBC3
split-complementary
#8147CB #CBC347 #4FCB47
monochromatic
#472176 #632FA6 #8147CB #A277D8 #C2A6E6

Accessibility & contrast

On white

5.68
#8147CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8147CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147CB#FFFFFF#000000##FFFFFF
##8147CB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#716583
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8147cb;
/* rgb */ color: rgb(129, 71, 203);
/* oklch */ color: oklch(53.5% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab7edc',
    500: '#8147cb',
    950: '#000000',
  },
}
SCSS
$custom: #8147cb;
$custom-light: #ab7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8147cb",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 266.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.1955,
    "h": 300
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#8147CB
secondary
#BAD39B
accent
#DF499D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147CB

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

Preview Lab → · Contrast checker → · Palette generator →

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