#7832BB#7832BB

#7832BB is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.202 H 302.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7832BB
RGBrgb(120, 50, 187)
HSLhsl(271, 58%, 46%)
HSVhsv(271, 73%, 73%)
CMYKcmyk(35.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(37.59, 55.34, -59.78)
CIE-LCHlch(37.59, 81.46, 312.80°)
OKLaboklab(48.68% 0.1094 -0.1703)
OKLCHoklch(48.68% 0.202 302.7)
XYZxyz(17.8538, 9.8621, 47.9671)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832BB #75BB32
analogous
#3432BB #7832BB #BB32BA
triadic
#7832BB #BB7832 #32BB78
tetradic
#7832BB #BB3432 #75BB32 #32BABB
square
#7832BB #BB3432 #75BB32 #32BABB
split-complementary
#7832BB #BABB32 #32BB34
monochromatic
#3A185A #59258B #7832BB #9658D2 #B588DF

Accessibility & contrast

On white

7.06
#7832BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7832BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832BB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832BB#FFFFFF#000000##FFFFFF
##7832BB1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#6A5474
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7832bb;
/* rgb */ color: rgb(120, 50, 187);
/* oklch */ color: oklch(48.7% 0.202 302.7);
Tailwind
colors: {
  custom: {
    50: '#a570d0',
    500: '#7832bb',
    950: '#000000',
  },
}
SCSS
$custom: #7832bb;
$custom-light: #a570d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7832bb",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 270.657,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.20243,
    "h": 302.7
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#7832BB
secondary
#A4C980
accent
#E14792
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7832BB

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

Preview Lab → · Contrast checker → · Palette generator →

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