#7832BD#7832BD

#7832BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.204 H 302.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7832BD
RGBrgb(120, 50, 189)
HSLhsl(270, 58%, 47%)
HSVhsv(270, 74%, 74%)
CMYKcmyk(36.5%, 73.5%, 0%, 25.9%)
CIE-LABlab(37.75, 55.82, -60.70)
CIE-LCHlch(37.75, 82.47, 312.60°)
OKLaboklab(48.84% 0.109 -0.1731)
OKLCHoklch(48.84% 0.205 302.2)
XYZxyz(18.0694, 9.9483, 49.1025)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832BD #77BD32
analogous
#3332BD #7832BD #BD32BD
triadic
#7832BD #BD7832 #32BD78
tetradic
#7832BD #BD3332 #77BD32 #32BDBD
square
#7832BD #BD3332 #77BD32 #32BDBD
split-complementary
#7832BD #BDBD32 #32BD33
monochromatic
#3B185C #59258D #7832BD #9759D3 #B589E0

Accessibility & contrast

On white

7.02
#7832BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7832BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832BD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832BD#FFFFFF#000000##FFFFFF
##7832BD1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#695575
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7832bd;
/* rgb */ color: rgb(120, 50, 189);
/* oklch */ color: oklch(48.8% 0.204 302.2);
Tailwind
colors: {
  custom: {
    50: '#a571d2',
    500: '#7832bd',
    950: '#000000',
  },
}
SCSS
$custom: #7832bd;
$custom-light: #a571d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7832bd",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 270.216,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.2045,
    "h": 302.2
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#7832BD
secondary
#A5CA81
accent
#E14693
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7832BD

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

Preview Lab → · Contrast checker → · Palette generator →

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