#7829B6#7829B6

#7829B6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.207 H 304.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7829B6
RGBrgb(120, 41, 182)
HSLhsl(274, 63%, 44%)
HSVhsv(274, 77%, 71%)
CMYKcmyk(34.1%, 77.5%, 0%, 28.6%)
CIE-LABlab(35.90, 57.90, -59.58)
CIE-LCHlch(35.90, 83.08, 314.18°)
OKLaboklab(47.36% 0.1186 -0.1697)
OKLCHoklch(47.36% 0.207 304.9)
XYZxyz(16.9802, 8.9564, 45.0811)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B6 #67B629
analogous
#3129B6 #7829B6 #B629AD
triadic
#7829B6 #B67829 #29B678
tetradic
#7829B6 #B63129 #67B629 #29ADB6
square
#7829B6 #B63129 #67B629 #29ADB6
split-complementary
#7829B6 #ADB629 #29B631
monochromatic
#361252 #571E84 #7829B6 #9747D5 #B379E1

Accessibility & contrast

On white

7.52
#7829B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7829B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7829B6#FFFFFF#000000##FFFFFF
##7829B61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#6C4D6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7829b6;
/* rgb */ color: rgb(120, 41, 182);
/* oklch */ color: oklch(47.4% 0.207 304.9);
Tailwind
colors: {
  custom: {
    50: '#a56ccd',
    500: '#7829b6',
    950: '#000000',
  },
}
SCSS
$custom: #7829b6;
$custom-light: #a56ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b6",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 273.617,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.20702,
    "h": 304.9
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#7829B6
secondary
#98C972
accent
#E6428A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7829B6

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

Preview Lab → · Contrast checker → · Palette generator →

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