#7B32C7#7B32C7

#7B32C7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.215 H 301.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7B32C7
RGBrgb(123, 50, 199)
HSLhsl(269, 60%, 49%)
HSVhsv(269, 75%, 78%)
CMYKcmyk(38.2%, 74.9%, 0%, 22%)
CIE-LABlab(38.93, 58.73, -64.62)
CIE-LCHlch(38.93, 87.32, 312.27°)
OKLaboklab(50% 0.111 -0.1845)
OKLCHoklch(50% 0.215 301)
XYZxyz(19.6153, 10.6155, 55.0373)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32C7 #7EC732
analogous
#3234C7 #7B32C7 #C632C7
triadic
#7B32C7 #C77B32 #32C77B
tetradic
#7B32C7 #C73234 #7EC732 #32C7C6
square
#7B32C7 #C73234 #7EC732 #32C7C6
split-complementary
#7B32C7 #C7C632 #34C732
monochromatic
#3F1965 #5D2696 #7B32C7 #9A5FD7 #B990E3

Accessibility & contrast

On white

6.72
#7B32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32C7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32C7#FFFFFF#000000##FFFFFF
##7B32C71.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#6A587B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b32c7;
/* rgb */ color: rgb(123, 50, 199);
/* oklch */ color: oklch(50.0% 0.215 301.0);
Tailwind
colors: {
  custom: {
    50: '#a871d9',
    500: '#7b32c7',
    950: '#000000',
  },
}
SCSS
$custom: #7b32c7;
$custom-light: #a871d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32c7",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 269.396,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.2153,
    "h": 301
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#7B32C7
secondary
#ABCE87
accent
#E34595
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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