#7829AE#7829AE

#7829AE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.199 H 307.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7829AE
RGBrgb(120, 41, 174)
HSLhsl(276, 62%, 42%)
HSVhsv(276, 76%, 68%)
CMYKcmyk(31%, 76.4%, 0%, 31.8%)
CIE-LABlab(35.27, 56.09, -55.85)
CIE-LCHlch(35.27, 79.15, 315.12°)
OKLaboklab(46.73% 0.1204 -0.1587)
OKLCHoklch(46.73% 0.199 307.2)
XYZxyz(16.1770, 8.6351, 40.8507)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829AE #5FAE29
analogous
#3629AE #7829AE #AE29A2
triadic
#7829AE #AE7829 #29AE78
tetradic
#7829AE #AE3629 #5FAE29 #29A2AE
square
#7829AE #AE3629 #5FAE29 #29A2AE
split-complementary
#7829AE #A2AE29 #29AE36
monochromatic
#34124B #561D7C #7829AE #9842D2 #B373DE

Accessibility & contrast

On white

7.70
#7829AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7829AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7829AE#FFFFFF#000000##FFFFFF
##7829AE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#6F4A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7829ae;
/* rgb */ color: rgb(120, 41, 174);
/* oklch */ color: oklch(46.7% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#a46bc7',
    500: '#7829ae',
    950: '#000000',
  },
}
SCSS
$custom: #7829ae;
$custom-light: #a46bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7829ae",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 275.639,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.19922,
    "h": 307.2
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#7829AE
secondary
#91C56D
accent
#E54385
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829AE

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

Preview Lab → · Contrast checker → · Palette generator →

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