#7829AA#7829AA

#7829AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.195 H 308.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7829AA
RGBrgb(120, 41, 170)
HSLhsl(277, 61%, 41%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(29.4%, 75.9%, 0%, 33.3%)
CIE-LABlab(34.97, 55.20, -53.95)
CIE-LCHlch(34.97, 77.19, 315.65°)
OKLaboklab(46.42% 0.1212 -0.1532)
OKLCHoklch(46.42% 0.195 308.4)
XYZxyz(15.7929, 8.4815, 38.8275)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829AA #5BAA29
analogous
#3829AA #7829AA #AA299C
triadic
#7829AA #AA7829 #29AA78
tetradic
#7829AA #AA3829 #5BAA29 #299CAA
square
#7829AA #AA3829 #5BAA29 #299CAA
split-complementary
#7829AA #9CAA29 #29AA38
monochromatic
#321147 #551D79 #7829AA #983FD1 #B371DD

Accessibility & contrast

On white

7.79
#7829AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7829AA#FFFFFF#000000##FFFFFF
##7829AA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#704868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7829aa;
/* rgb */ color: rgb(120, 41, 170);
/* oklch */ color: oklch(46.4% 0.195 308.4);
Tailwind
colors: {
  custom: {
    50: '#a46bc4',
    500: '#7829aa',
    950: '#000000',
  },
}
SCSS
$custom: #7829aa;
$custom-light: #a46bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7829aa",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 276.744,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.19533,
    "h": 308.4
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#7829AA
secondary
#8DC46B
accent
#E44482
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829AA

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

Preview Lab → · Contrast checker → · Palette generator →

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