#7B32CF#7B32CF

#7B32CF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.223 H 299.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7B32CF
RGBrgb(123, 50, 207)
HSLhsl(268, 62%, 50%)
HSVhsv(268, 76%, 81%)
CMYKcmyk(40.6%, 75.8%, 0%, 18.8%)
CIE-LABlab(39.58, 60.64, -68.20)
CIE-LCHlch(39.58, 91.26, 311.64°)
OKLaboklab(50.65% 0.1091 -0.195)
OKLCHoklch(50.65% 0.223 299.2)
XYZxyz(20.5686, 10.9969, 60.0583)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B32CF #86CF32
analogous
#3237CF #7B32CF #C932CF
triadic
#7B32CF #CF7B32 #32CF7B
tetradic
#7B32CF #CF3237 #86CF32 #32CFC9
square
#7B32CF #CF3237 #86CF32 #32CFC9
split-complementary
#7B32CF #CFC932 #37CF32
monochromatic
#401A6D #5E259F #7B32CF #9B64DB #BB95E6

Accessibility & contrast

On white

6.56
#7B32CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7B32CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B32CF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B32CF#FFFFFF#000000##FFFFFF
##7B32CF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#675C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b32cf;
/* rgb */ color: rgb(123, 50, 207);
/* oklch */ color: oklch(50.7% 0.223 299.2);
Tailwind
colors: {
  custom: {
    50: '#a872df',
    500: '#7b32cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b32cf;
$custom-light: #a872df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b32cf",
  "rgb": {
    "r": 123,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 267.898,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.22343,
    "h": 299.2
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#7B32CF
secondary
#B1D18B
accent
#E5439A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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