#7829C2#7829C2

#7829C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.219 H 301.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7829C2
RGBrgb(120, 41, 194)
HSLhsl(271, 65%, 46%)
HSVhsv(271, 79%, 76%)
CMYKcmyk(38.1%, 78.9%, 0%, 23.9%)
CIE-LABlab(36.88, 60.64, -65.05)
CIE-LCHlch(36.88, 88.93, 312.99°)
OKLaboklab(48.35% 0.1154 -0.1858)
OKLCHoklch(48.35% 0.219 301.9)
XYZxyz(18.2739, 9.4739, 51.8944)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829C2 #73C229
analogous
#2B29C2 #7829C2 #C229BF
triadic
#7829C2 #C27829 #29C278
tetradic
#7829C2 #C22B29 #73C229 #29BFC2
square
#7829C2 #C22B29 #73C229 #29BFC2
split-complementary
#7829C2 #BFC229 #29C22B
monochromatic
#39145D #591E8F #7829C2 #964EDA #B481E4

Accessibility & contrast

On white

7.25
#7829C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7829C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829C2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829C2#FFFFFF#000000##FFFFFF
##7829C21.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#685376
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7829c2;
/* rgb */ color: rgb(120, 41, 194);
/* oklch */ color: oklch(48.4% 0.219 301.9);
Tailwind
colors: {
  custom: {
    50: '#a66cd6',
    500: '#7829c2',
    950: '#000000',
  },
}
SCSS
$custom: #7829c2;
$custom-light: #a66cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7829c2",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 270.98,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.21872,
    "h": 301.9
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#7829C2
secondary
#A2CD7A
accent
#E84091
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7829C2

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

Preview Lab → · Contrast checker → · Palette generator →

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