#7829B5#7829B5

#7829B5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.206 H 305.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7829B5
RGBrgb(120, 41, 181)
HSLhsl(274, 63%, 44%)
HSVhsv(274, 77%, 71%)
CMYKcmyk(33.7%, 77.3%, 0%, 29%)
CIE-LABlab(35.82, 57.67, -59.12)
CIE-LCHlch(35.82, 82.59, 314.29°)
OKLaboklab(47.28% 0.1188 -0.1684)
OKLCHoklch(47.28% 0.206 305.2)
XYZxyz(16.8773, 8.9152, 44.5388)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B5 #66B529
analogous
#3229B5 #7829B5 #B529AC
triadic
#7829B5 #B57829 #29B578
tetradic
#7829B5 #B53229 #66B529 #29ACB5
square
#7829B5 #B53229 #66B529 #29ACB5
split-complementary
#7829B5 #ACB529 #29B532
monochromatic
#361251 #571E83 #7829B5 #9746D5 #B378E0

Accessibility & contrast

On white

7.55
#7829B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7829B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829B5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829B5#FFFFFF#000000##FFFFFF
##7829B51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6D4D6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7829b5;
/* rgb */ color: rgb(120, 41, 181);
/* oklch */ color: oklch(47.3% 0.206 305.2);
Tailwind
colors: {
  custom: {
    50: '#a56ccc',
    500: '#7829b5',
    950: '#000000',
  },
}
SCSS
$custom: #7829b5;
$custom-light: #a56ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b5",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 273.857,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.20605,
    "h": 305.2
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#7829B5
secondary
#97C872
accent
#E64289
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829B5

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

Preview Lab → · Contrast checker → · Palette generator →

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