#8147DB#8147DB

#8147DB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.213 H 296.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8147DB
RGBrgb(129, 71, 219)
HSLhsl(264, 67%, 57%)
HSVhsv(264, 68%, 86%)
CMYKcmyk(41.1%, 67.6%, 0%, 14.1%)
CIE-LABlab(44.64, 55.03, -66.81)
CIE-LCHlch(44.64, 86.56, 309.48°)
OKLaboklab(54.69% 0.0957 -0.1908)
OKLCHoklch(54.69% 0.213 296.6)
XYZxyz(24.0893, 14.2876, 68.4927)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147DB #A1DB47
analogous
#4757DB #8147DB #CB47DB
triadic
#8147DB #DB8147 #47DB81
tetradic
#8147DB #DB4757 #A1DB47 #47DBCB
square
#8147DB #DB4757 #A1DB47 #47DBCB
split-complementary
#8147DB #DBCB47 #57DB47
monochromatic
#481B8C #6225BF #8147DB #A47AE5 #C7ADEF

Accessibility & contrast

On white

5.44
#8147DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8147DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147DB#FFFFFF#000000##FFFFFF
##8147DB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#6A6B8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8147db;
/* rgb */ color: rgb(129, 71, 219);
/* oklch */ color: oklch(54.7% 0.213 296.6);
Tailwind
colors: {
  custom: {
    50: '#ac7ee7',
    500: '#8147db',
    950: '#000000',
  },
}
SCSS
$custom: #8147db;
$custom-light: #ac7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8147db",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 263.514,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.21349,
    "h": 296.6
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#8147DB
secondary
#C5DDA1
accent
#EA3EA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8147DB

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

Preview Lab → · Contrast checker → · Palette generator →

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