#7829BB#7829BB

#7829BB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.212 H 303.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7829BB
RGBrgb(120, 41, 187)
HSLhsl(272, 64%, 45%)
HSVhsv(272, 78%, 73%)
CMYKcmyk(35.8%, 78.1%, 0%, 26.7%)
CIE-LABlab(36.30, 59.04, -61.88)
CIE-LCHlch(36.30, 85.52, 313.65°)
OKLaboklab(47.77% 0.1173 -0.1765)
OKLCHoklch(47.77% 0.212 303.6)
XYZxyz(17.5062, 9.1668, 47.8512)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829BB #6CBB29
analogous
#2F29BB #7829BB #BB29B5
triadic
#7829BB #BB7829 #29BB78
tetradic
#7829BB #BB2F29 #6CBB29 #29B5BB
square
#7829BB #BB2F29 #6CBB29 #29B5BB
split-complementary
#7829BB #B5BB29 #29BB2F
monochromatic
#381357 #581E89 #7829BB #964AD7 #B37CE2

Accessibility & contrast

On white

7.41
#7829BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7829BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829BB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829BB#FFFFFF#000000##FFFFFF
##7829BB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#6A5072
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7829bb;
/* rgb */ color: rgb(120, 41, 187);
/* oklch */ color: oklch(47.8% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#a56cd0',
    500: '#7829bb',
    950: '#000000',
  },
}
SCSS
$custom: #7829bb;
$custom-light: #a56cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7829bb",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 272.466,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.2119,
    "h": 303.6
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#7829BB
secondary
#9CCB75
accent
#E7418D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7829BB

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

Preview Lab → · Contrast checker → · Palette generator →

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