#7932CB#7932CB

#7932CB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.219 H 299.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7932CB
RGBrgb(121, 50, 203)
HSLhsl(268, 60%, 50%)
HSVhsv(268, 75%, 80%)
CMYKcmyk(40.4%, 75.4%, 0%, 20.4%)
CIE-LABlab(39.00, 59.35, -66.84)
CIE-LCHlch(39.00, 89.39, 311.61°)
OKLaboklab(50.09% 0.1072 -0.1911)
OKLCHoklch(50.09% 0.219 299.3)
XYZxyz(19.8025, 10.6577, 57.5022)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7932CB #84CB32
analogous
#3238CB #7932CB #C532CB
triadic
#7932CB #CB7932 #32CB79
tetradic
#7932CB #CB3238 #84CB32 #32CBC5
square
#7932CB #CB3238 #84CB32 #32CBC5
split-complementary
#7932CB #CBC532 #38CB32
monochromatic
#3E1A69 #5C269A #7932CB #9962D8 #B993E4

Accessibility & contrast

On white

6.71
#7932CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7932CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7932CB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7932CB#FFFFFF#000000##FFFFFF
##7932CB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7932cb;
/* rgb */ color: rgb(121, 50, 203);
/* oklch */ color: oklch(50.1% 0.219 299.3);
Tailwind
colors: {
  custom: {
    50: '#a771dc',
    500: '#7932cb',
    950: '#000000',
  },
}
SCSS
$custom: #7932cb;
$custom-light: #a771dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7932cb",
  "rgb": {
    "r": 121,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 267.843,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.21908,
    "h": 299.3
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#7932CB
secondary
#AFCF89
accent
#E4449A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7932CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7932CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva