#7832B2#7832B2

#7832B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.193 H 305.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7832B2
RGBrgb(120, 50, 178)
HSLhsl(273, 56%, 45%)
HSVhsv(273, 72%, 70%)
CMYKcmyk(32.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(36.91, 53.22, -55.57)
CIE-LCHlch(36.91, 76.94, 313.76°)
OKLaboklab(47.98% 0.111 -0.158)
OKLCHoklch(47.98% 0.193 305.1)
XYZxyz(16.9204, 9.4887, 43.0510)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832B2 #6CB232
analogous
#3832B2 #7832B2 #B232AC
triadic
#7832B2 #B27832 #32B278
tetradic
#7832B2 #B23832 #6CB232 #32ACB2
square
#7832B2 #B23832 #6CB232 #32ACB2
split-complementary
#7832B2 #ACB232 #32B238
monochromatic
#381752 #582582 #7832B2 #9653CF #B382DC

Accessibility & contrast

On white

7.25
#7832B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7832B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7832B2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832B2#FFFFFF#000000##FFFFFF
##7832B21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#6D506F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7832b2;
/* rgb */ color: rgb(120, 50, 178);
/* oklch */ color: oklch(48.0% 0.193 305.1);
Tailwind
colors: {
  custom: {
    50: '#a470ca',
    500: '#7832b2',
    950: '#000000',
  },
}
SCSS
$custom: #7832b2;
$custom-light: #a470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7832b2",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 272.813,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.1931,
    "h": 305.1
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#7832B2
secondary
#9CC57B
accent
#DF488D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7832B2

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

Preview Lab → · Contrast checker → · Palette generator →

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