#7829B2#7829B2

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

Color values

HEX#7829B2
RGBrgb(120, 41, 178)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 70%)
CMYKcmyk(32.6%, 77%, 0%, 30.2%)
CIE-LABlab(35.58, 56.99, -57.72)
CIE-LCHlch(35.58, 81.12, 314.63°)
OKLaboklab(47.04% 0.1195 -0.1643)
OKLCHoklch(47.04% 0.203 306)
XYZxyz(16.5728, 8.7934, 42.9351)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B2 #63B229
analogous
#3429B2 #7829B2 #B229A7
triadic
#7829B2 #B27829 #29B278
tetradic
#7829B2 #B23429 #63B229 #29A7B2
square
#7829B2 #B23429 #63B229 #29A7B2
split-complementary
#7829B2 #A7B229 #29B234
monochromatic
#35124F #561E80 #7829B2 #9744D4 #B376DF

Accessibility & contrast

On white

7.61
#7829B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7829B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829B2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829B2#FFFFFF#000000##FFFFFF
##7829B21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#6E4C6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7829b2;
/* rgb */ color: rgb(120, 41, 178);
/* oklch */ color: oklch(47.0% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#a46cca',
    500: '#7829b2',
    950: '#000000',
  },
}
SCSS
$custom: #7829b2;
$custom-light: #a46cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b2",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 274.599,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47043,
    "c": 0.20312,
    "h": 306
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#7829B2
secondary
#95C770
accent
#E64287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829B2

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

Preview Lab → · Contrast checker → · Palette generator →

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