#7B32B2#7B32B2

#7B32B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.194 H 306.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7B32B2
RGBrgb(123, 50, 178)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 70%)
CMYKcmyk(30.9%, 71.9%, 0%, 30.2%)
CIE-LABlab(37.31, 53.81, -54.90)
CIE-LCHlch(37.31, 76.87, 314.42°)
OKLaboklab(48.35% 0.1152 -0.1559)
OKLCHoklch(48.35% 0.194 306.5)
XYZxyz(17.3431, 9.7067, 43.0708)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32B2 #69B232
analogous
#3B32B2 #7B32B2 #B232A9
triadic
#7B32B2 #B27B32 #32B27B
tetradic
#7B32B2 #B23B32 #69B232 #32A9B2
square
#7B32B2 #B23B32 #69B232 #32A9B2
split-complementary
#7B32B2 #A9B232 #32B23B
monochromatic
#391752 #5A2582 #7B32B2 #9953CF #B682DC

Accessibility & contrast

On white

7.14
#7B32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7B32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B32B2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32B2#FFFFFF#000000##FFFFFF
##7B32B21.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#71506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b32b2;
/* rgb */ color: rgb(123, 50, 178);
/* oklch */ color: oklch(48.4% 0.194 306.5);
Tailwind
colors: {
  custom: {
    50: '#a670ca',
    500: '#7b32b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b32b2;
$custom-light: #a670ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32b2",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 274.219,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48351,
    "c": 0.19384,
    "h": 306.5
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#7B32B2
secondary
#9BC57B
accent
#DF4889
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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