#8147CA#8147CA

#8147CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.194 H 300.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8147CA
RGBrgb(129, 71, 202)
HSLhsl(267, 55%, 54%)
HSVhsv(267, 65%, 79%)
CMYKcmyk(36.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(43.42, 50.73, -59.03)
CIE-LCHlch(43.42, 77.84, 310.67°)
OKLaboklab(53.43% 0.0978 -0.1679)
OKLCHoklch(53.43% 0.194 300.2)
XYZxyz(21.9646, 13.4377, 57.3022)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147CA #90CA47
analogous
#474ECA #8147CA #C247CA
triadic
#8147CA #CA8147 #47CA81
tetradic
#8147CA #CA474E #90CA47 #47CAC2
square
#8147CA #CA474E #90CA47 #47CAC2
split-complementary
#8147CA #CAC247 #4ECA47
monochromatic
#472275 #632FA4 #8147CA #A277D8 #C2A6E5

Accessibility & contrast

On white

5.69
#8147CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8147CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147CA#FFFFFF#000000##FFFFFF
##8147CA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0166C7
Tritanopia (blue-blind)
#716482
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8147ca;
/* rgb */ color: rgb(129, 71, 202);
/* oklch */ color: oklch(53.4% 0.194 300.2);
Tailwind
colors: {
  custom: {
    50: '#ab7edb',
    500: '#8147ca',
    950: '#000000',
  },
}
SCSS
$custom: #8147ca;
$custom-light: #ab7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8147ca",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 266.565,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.19437,
    "h": 300.2
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#8147CA
secondary
#BAD29A
accent
#DF499C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147CA

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

Preview Lab → · Contrast checker → · Palette generator →

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