#7829B3#7829B3

#7829B3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 305.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7829B3
RGBrgb(120, 41, 179)
HSLhsl(274, 63%, 43%)
HSVhsv(274, 77%, 70%)
CMYKcmyk(33%, 77.1%, 0%, 29.8%)
CIE-LABlab(35.66, 57.22, -58.19)
CIE-LCHlch(35.66, 81.61, 314.52°)
OKLaboklab(47.12% 0.1193 -0.1656)
OKLCHoklch(47.12% 0.204 305.8)
XYZxyz(16.6735, 8.8338, 43.4658)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B3 #64B329
analogous
#3329B3 #7829B3 #B329A9
triadic
#7829B3 #B37829 #29B378
tetradic
#7829B3 #B33329 #64B329 #29A9B3
square
#7829B3 #B33329 #64B329 #29A9B3
split-complementary
#7829B3 #A9B329 #29B333
monochromatic
#35124F #571E81 #7829B3 #9745D4 #B377E0

Accessibility & contrast

On white

7.59
#7829B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7829B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829B3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829B3#FFFFFF#000000##FFFFFF
##7829B31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6D4C6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7829b3;
/* rgb */ color: rgb(120, 41, 179);
/* oklch */ color: oklch(47.1% 0.204 305.8);
Tailwind
colors: {
  custom: {
    50: '#a56ccb',
    500: '#7829b3',
    950: '#000000',
  },
}
SCSS
$custom: #7829b3;
$custom-light: #a56ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b3",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 274.348,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.2041,
    "h": 305.8
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#7829B3
secondary
#96C770
accent
#E64288
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829B3

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

Preview Lab → · Contrast checker → · Palette generator →

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