#7829AC#7829AC

#7829AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.197 H 307.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7829AC
RGBrgb(120, 41, 172)
HSLhsl(276, 62%, 42%)
HSVhsv(276, 76%, 67%)
CMYKcmyk(30.2%, 76.2%, 0%, 32.5%)
CIE-LABlab(35.12, 55.64, -54.90)
CIE-LCHlch(35.12, 78.17, 315.38°)
OKLaboklab(46.57% 0.1208 -0.156)
OKLCHoklch(46.57% 0.197 307.8)
XYZxyz(15.9835, 8.5577, 39.8315)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829AC #5DAC29
analogous
#3729AC #7829AC #AC299F
triadic
#7829AC #AC7829 #29AC78
tetradic
#7829AC #AC3729 #5DAC29 #299FAC
square
#7829AC #AC3729 #5DAC29 #299FAC
split-complementary
#7829AC #9FAC29 #29AC37
monochromatic
#331149 #561D7B #7829AC #9841D2 #B372DD

Accessibility & contrast

On white

7.74
#7829AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7829AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7829AC#FFFFFF#000000##FFFFFF
##7829AC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6F4969
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7829ac;
/* rgb */ color: rgb(120, 41, 172);
/* oklch */ color: oklch(46.6% 0.197 307.8);
Tailwind
colors: {
  custom: {
    50: '#a46bc6',
    500: '#7829ac',
    950: '#000000',
  },
}
SCSS
$custom: #7829ac;
$custom-light: #a46bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7829ac",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 276.183,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.19727,
    "h": 307.8
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#7829AC
secondary
#8FC56C
accent
#E54383
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829AC

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

Preview Lab → · Contrast checker → · Palette generator →

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