#7829BD#7829BD

#7829BD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.214 H 303.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7829BD
RGBrgb(120, 41, 189)
HSLhsl(272, 64%, 45%)
HSVhsv(272, 78%, 74%)
CMYKcmyk(36.5%, 78.3%, 0%, 25.9%)
CIE-LABlab(36.47, 59.49, -62.79)
CIE-LCHlch(36.47, 86.50, 313.46°)
OKLaboklab(47.94% 0.1168 -0.1791)
OKLCHoklch(47.94% 0.214 303.1)
XYZxyz(17.7218, 9.2531, 48.9866)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829BD #6EBD29
analogous
#2E29BD #7829BD #BD29B8
triadic
#7829BD #BD7829 #29BD78
tetradic
#7829BD #BD2E29 #6EBD29 #29B8BD
square
#7829BD #BD2E29 #6EBD29 #29B8BD
split-complementary
#7829BD #B8BD29 #29BD2E
monochromatic
#381358 #581E8B #7829BD #964BD8 #B47DE3

Accessibility & contrast

On white

7.37
#7829BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7829BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829BD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829BD#FFFFFF#000000##FFFFFF
##7829BD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6A5073
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7829bd;
/* rgb */ color: rgb(120, 41, 189);
/* oklch */ color: oklch(47.9% 0.214 303.1);
Tailwind
colors: {
  custom: {
    50: '#a56cd2',
    500: '#7829bd',
    950: '#000000',
  },
}
SCSS
$custom: #7829bd;
$custom-light: #a56cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7829bd",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 272.027,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47937,
    "c": 0.21384,
    "h": 303.1
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#7829BD
secondary
#9ECB77
accent
#E7408E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7829BD

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

Preview Lab → · Contrast checker → · Palette generator →

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