#7832BC#7832BC

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

Color values

HEX#7832BC
RGBrgb(120, 50, 188)
HSLhsl(270, 58%, 47%)
HSVhsv(270, 73%, 74%)
CMYKcmyk(36.2%, 73.4%, 0%, 26.3%)
CIE-LABlab(37.67, 55.58, -60.24)
CIE-LCHlch(37.67, 81.96, 312.70°)
OKLaboklab(48.76% 0.1092 -0.1717)
OKLCHoklch(48.76% 0.203 302.4)
XYZxyz(17.9613, 9.9051, 48.5328)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832BC #76BC32
analogous
#3332BC #7832BC #BC32BB
triadic
#7832BC #BC7832 #32BC78
tetradic
#7832BC #BC3332 #76BC32 #32BBBC
square
#7832BC #BC3332 #76BC32 #32BBBC
split-complementary
#7832BC #BBBC32 #32BC33
monochromatic
#3A185B #59258C #7832BC #9658D3 #B589E0

Accessibility & contrast

On white

7.04
#7832BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7832BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832BC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832BC#FFFFFF#000000##FFFFFF
##7832BC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6A5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7832bc;
/* rgb */ color: rgb(120, 50, 188);
/* oklch */ color: oklch(48.8% 0.203 302.4);
Tailwind
colors: {
  custom: {
    50: '#a570d1',
    500: '#7832bc',
    950: '#000000',
  },
}
SCSS
$custom: #7832bc;
$custom-light: #a570d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7832bc",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 270.435,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.20347,
    "h": 302.4
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#7832BC
secondary
#A4C980
accent
#E14793
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7832BC

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

Preview Lab → · Contrast checker → · Palette generator →

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