#7829C4#7829C4

#7829C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.221 H 301.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7829C4
RGBrgb(120, 41, 196)
HSLhsl(271, 65%, 46%)
HSVhsv(271, 79%, 77%)
CMYKcmyk(38.8%, 79.1%, 0%, 23.1%)
CIE-LABlab(37.05, 61.11, -65.95)
CIE-LCHlch(37.05, 89.91, 312.82°)
OKLaboklab(48.52% 0.1149 -0.1884)
OKLCHoklch(48.52% 0.221 301.4)
XYZxyz(18.5000, 9.5644, 53.0853)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829C4 #75C429
analogous
#2B29C4 #7829C4 #C429C3
triadic
#7829C4 #C47829 #29C478
tetradic
#7829C4 #C42B29 #75C429 #29C3C4
square
#7829C4 #C42B29 #75C429 #29C3C4
split-complementary
#7829C4 #C3C429 #29C42B
monochromatic
#3A145F #591E91 #7829C4 #9650DA #B582E5

Accessibility & contrast

On white

7.21
#7829C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7829C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7829C4#FFFFFF#000000##FFFFFF
##7829C41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#675377
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7829c4;
/* rgb */ color: rgb(120, 41, 196);
/* oklch */ color: oklch(48.5% 0.221 301.4);
Tailwind
colors: {
  custom: {
    50: '#a66dd7',
    500: '#7829c4',
    950: '#000000',
  },
}
SCSS
$custom: #7829c4;
$custom-light: #a66dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7829c4",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 270.581,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.22067,
    "h": 301.4
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#7829C4
secondary
#A4CE7B
accent
#E83F92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7829C4

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

Preview Lab → · Contrast checker → · Palette generator →

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