#8146CD#8146CD

#8146CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.199 H 299.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8146CD
RGBrgb(129, 70, 205)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(37.1%, 65.9%, 0%, 19.6%)
CIE-LABlab(43.44, 51.99, -60.72)
CIE-LCHlch(43.44, 79.94, 310.57°)
OKLaboklab(53.51% 0.0986 -0.1729)
OKLCHoklch(53.51% 0.199 299.7)
XYZxyz(22.2601, 13.4550, 59.1701)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8146CD #92CD46
analogous
#464FCD #8146CD #C546CD
triadic
#8146CD #CD8146 #46CD81
tetradic
#8146CD #CD464F #92CD46 #46CDC5
square
#8146CD #CD464F #92CD46 #46CDC5
split-complementary
#8146CD #CDC546 #4FCD46
monochromatic
#472078 #632DA8 #8146CD #A276DA #C3A6E7

Accessibility & contrast

On white

5.69
#8146CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8146CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8146CD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8146CD#FFFFFF#000000##FFFFFF
##8146CD1.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)
#0066D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#706584
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8146cd;
/* rgb */ color: rgb(129, 70, 205);
/* oklch */ color: oklch(53.5% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ddd',
    500: '#8146cd',
    950: '#000000',
  },
}
SCSS
$custom: #8146cd;
$custom-light: #ab7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8146cd",
  "rgb": {
    "r": 129,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 266.222,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.19907,
    "h": 299.7
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#8146CD
secondary
#BBD49B
accent
#E1479E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8146CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8146CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva