#8147D2#8147D2

#8147D2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.203 H 298.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8147D2
RGBrgb(129, 71, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(38.6%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.98, 52.74, -62.73)
CIE-LCHlch(43.98, 81.95, 310.06°)
OKLaboklab(54.01% 0.097 -0.1788)
OKLCHoklch(54.01% 0.203 298.5)
XYZxyz(22.9364, 13.8264, 62.4206)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147D2 #98D247
analogous
#4752D2 #8147D2 #C747D2
triadic
#8147D2 #D28147 #47D281
tetradic
#8147D2 #D24752 #98D247 #47D2C7
square
#8147D2 #D24752 #98D247 #47D2C7
split-complementary
#8147D2 #D2C747 #52D247
monochromatic
#471F7F #632BB1 #8147D2 #A378DE #C4A9EA

Accessibility & contrast

On white

5.58
#8147D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8147D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147D2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147D2#FFFFFF#000000##FFFFFF
##8147D21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#6E6787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8147d2;
/* rgb */ color: rgb(129, 71, 210);
/* oklch */ color: oklch(54.0% 0.203 298.5);
Tailwind
colors: {
  custom: {
    50: '#ab7ee1',
    500: '#8147d2',
    950: '#000000',
  },
}
SCSS
$custom: #8147d2;
$custom-light: #ab7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8147d2",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 265.036,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.2034,
    "h": 298.5
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#8147D2
secondary
#BFD89D
accent
#E444A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147D2

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

Preview Lab → · Contrast checker → · Palette generator →

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