#7832C2#7832C2

#7832C2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.210 H 301.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7832C2
RGBrgb(120, 50, 194)
HSLhsl(269, 59%, 48%)
HSVhsv(269, 74%, 76%)
CMYKcmyk(38.1%, 74.2%, 0%, 23.9%)
CIE-LABlab(38.14, 57.02, -62.99)
CIE-LCHlch(38.14, 84.96, 312.15°)
OKLaboklab(49.24% 0.1079 -0.1798)
OKLCHoklch(49.24% 0.21 301)
XYZxyz(18.6215, 10.1692, 52.0103)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832C2 #7CC232
analogous
#3234C2 #7832C2 #C032C2
triadic
#7832C2 #C27832 #32C278
tetradic
#7832C2 #C23234 #7CC232 #32C2C0
square
#7832C2 #C23234 #7CC232 #32C2C0
split-complementary
#7832C2 #C2C032 #34C232
monochromatic
#3C1961 #5A2591 #7832C2 #975CD5 #B68DE2

Accessibility & contrast

On white

6.92
#7832C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7832C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7832C2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832C2#FFFFFF#000000##FFFFFF
##7832C21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#675778
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7832c2;
/* rgb */ color: rgb(120, 50, 194);
/* oklch */ color: oklch(49.2% 0.210 301.0);
Tailwind
colors: {
  custom: {
    50: '#a571d5',
    500: '#7832c2',
    950: '#000000',
  },
}
SCSS
$custom: #7832c2;
$custom-light: #a571d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7832c2",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 269.167,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.20967,
    "h": 301
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#7832C2
secondary
#A9CC84
accent
#E24696
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7832C2

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

Preview Lab → · Contrast checker → · Palette generator →

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