#7829B1#7829B1

#7829B1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.202 H 306.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7829B1
RGBrgb(120, 41, 177)
HSLhsl(275, 62%, 43%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(32.2%, 76.8%, 0%, 30.6%)
CIE-LABlab(35.51, 56.76, -57.26)
CIE-LCHlch(35.51, 80.63, 314.75°)
OKLaboklab(46.96% 0.1197 -0.1629)
OKLCHoklch(46.96% 0.202 306.3)
XYZxyz(16.4727, 8.7534, 42.4082)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B1 #62B129
analogous
#3429B1 #7829B1 #B129A6
triadic
#7829B1 #B17829 #29B178
tetradic
#7829B1 #B13429 #62B129 #29A6B1
square
#7829B1 #B13429 #62B129 #29A6B1
split-complementary
#7829B1 #A6B129 #29B134
monochromatic
#35124E #561D7F #7829B1 #9744D4 #B375DF

Accessibility & contrast

On white

7.63
#7829B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7829B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829B1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829B1#FFFFFF#000000##FFFFFF
##7829B11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6E4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7829b1;
/* rgb */ color: rgb(120, 41, 177);
/* oklch */ color: oklch(47.0% 0.202 306.3);
Tailwind
colors: {
  custom: {
    50: '#a46cc9',
    500: '#7829b1',
    950: '#000000',
  },
}
SCSS
$custom: #7829b1;
$custom-light: #a46cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b1",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 274.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.20214,
    "h": 306.3
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#7829B1
secondary
#94C76F
accent
#E54287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829B1

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

Preview Lab → · Contrast checker → · Palette generator →

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