#7923AA#7923AA

#7923AA is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.202 H 309.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7923AA
RGBrgb(121, 35, 170)
HSLhsl(278, 66%, 40%)
HSVhsv(278, 79%, 67%)
CMYKcmyk(28.8%, 79.4%, 0%, 33.3%)
CIE-LABlab(34.33, 57.62, -54.97)
CIE-LCHlch(34.33, 79.64, 316.35°)
OKLaboklab(46% 0.1278 -0.1561)
OKLCHoklch(46% 0.202 309.3)
XYZxyz(15.7404, 8.1696, 38.7701)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923AA #54AA23
analogous
#3523AA #7923AA #AA2398
triadic
#7923AA #AA7923 #23AA79
tetradic
#7923AA #AA3523 #54AA23 #2398AA
square
#7923AA #AA3523 #54AA23 #2398AA
split-complementary
#7923AA #98AA23 #23AA35
monochromatic
#310E44 #551977 #7923AA #9B35D5 #B468E0

Accessibility & contrast

On white

7.97
#7923AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7923AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7923AA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7923AA#FFFFFF#000000##FFFFFF
##7923AA1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#724567
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7923aa;
/* rgb */ color: rgb(121, 35, 170);
/* oklch */ color: oklch(46.0% 0.202 309.3);
Tailwind
colors: {
  custom: {
    50: '#a569c4',
    500: '#7923aa',
    950: '#000000',
  },
}
SCSS
$custom: #7923aa;
$custom-light: #a569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7923aa",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 278.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.20173,
    "h": 309.3
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#7923AA
secondary
#87C663
accent
#E93F7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7923AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7923AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva