#7A32CB#7A32CB

#7A32CB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.219 H 299.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A32CB
RGBrgb(122, 50, 203)
HSLhsl(268, 60%, 50%)
HSVhsv(268, 75%, 80%)
CMYKcmyk(39.9%, 75.4%, 0%, 20.4%)
CIE-LABlab(39.12, 59.52, -66.63)
CIE-LCHlch(39.12, 89.34, 311.77°)
OKLaboklab(50.21% 0.1086 -0.1904)
OKLCHoklch(50.21% 0.219 299.7)
XYZxyz(19.9434, 10.7303, 57.5088)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A32CB #83CB32
analogous
#3237CB #7A32CB #C632CB
triadic
#7A32CB #CB7A32 #32CB7A
tetradic
#7A32CB #CB3237 #83CB32 #32CBC6
square
#7A32CB #CB3237 #83CB32 #32CBC6
split-complementary
#7A32CB #CBC632 #37CB32
monochromatic
#3F1A69 #5C269A #7A32CB #9A62D8 #B993E4

Accessibility & contrast

On white

6.67
#7A32CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A32CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A32CB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A32CB#FFFFFF#000000##FFFFFF
##7A32CB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#675A7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a32cb;
/* rgb */ color: rgb(122, 50, 203);
/* oklch */ color: oklch(50.2% 0.219 299.7);
Tailwind
colors: {
  custom: {
    50: '#a771dc',
    500: '#7a32cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a32cb;
$custom-light: #a771dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a32cb",
  "rgb": {
    "r": 122,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 268.235,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.21922,
    "h": 299.7
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#7A32CB
secondary
#AECF89
accent
#E44499
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A32CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7A32CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva