#7829AB#7829AB

#7829AB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.196 H 308.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7829AB
RGBrgb(120, 41, 171)
HSLhsl(276, 61%, 42%)
HSVhsv(276, 76%, 67%)
CMYKcmyk(29.8%, 76%, 0%, 32.9%)
CIE-LABlab(35.04, 55.42, -54.43)
CIE-LCHlch(35.04, 77.68, 315.52°)
OKLaboklab(46.49% 0.121 -0.1546)
OKLCHoklch(46.49% 0.196 308.1)
XYZxyz(15.8878, 8.5195, 39.3276)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829AB #5CAB29
analogous
#3729AB #7829AB #AB299D
triadic
#7829AB #AB7829 #29AB78
tetradic
#7829AB #AB3729 #5CAB29 #299DAB
square
#7829AB #AB3729 #5CAB29 #299DAB
split-complementary
#7829AB #9DAB29 #29AB37
monochromatic
#331148 #551D7A #7829AB #9840D1 #B371DD

Accessibility & contrast

On white

7.77
#7829AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7829AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829AB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829AB#FFFFFF#000000##FFFFFF
##7829AB1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#704969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7829ab;
/* rgb */ color: rgb(120, 41, 171);
/* oklch */ color: oklch(46.5% 0.196 308.1);
Tailwind
colors: {
  custom: {
    50: '#a46bc5',
    500: '#7829ab',
    950: '#000000',
  },
}
SCSS
$custom: #7829ab;
$custom-light: #a46bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7829ab",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 276.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.1963,
    "h": 308.1
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#7829AB
secondary
#8EC46C
accent
#E44383
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7829AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva