#7829AF#7829AF

#7829AF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.200 H 306.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7829AF
RGBrgb(120, 41, 175)
HSLhsl(275, 62%, 42%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(31.4%, 76.6%, 0%, 31.4%)
CIE-LABlab(35.35, 56.32, -56.32)
CIE-LCHlch(35.35, 79.64, 315.00°)
OKLaboklab(46.81% 0.1202 -0.1601)
OKLCHoklch(46.81% 0.2 306.9)
XYZxyz(16.2749, 8.6743, 41.3661)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829AF #60AF29
analogous
#3529AF #7829AF #AF29A3
triadic
#7829AF #AF7829 #29AF78
tetradic
#7829AF #AF3529 #60AF29 #29A3AF
square
#7829AF #AF3529 #60AF29 #29A3AF
split-complementary
#7829AF #A3AF29 #29AF35
monochromatic
#34124C #561D7D #7829AF #9842D3 #B374DE

Accessibility & contrast

On white

7.68
#7829AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7829AF#FFFFFF#000000##FFFFFF
##7829AF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6F4A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7829af;
/* rgb */ color: rgb(120, 41, 175);
/* oklch */ color: oklch(46.8% 0.200 306.9);
Tailwind
colors: {
  custom: {
    50: '#a46bc8',
    500: '#7829af',
    950: '#000000',
  },
}
SCSS
$custom: #7829af;
$custom-light: #a46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7829af",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 275.373,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.2002,
    "h": 306.9
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#7829AF
secondary
#92C66E
accent
#E54385
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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