#7923A7#7923A7

#7923A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 310.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7923A7
RGBrgb(121, 35, 167)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(27.5%, 79%, 0%, 34.5%)
CIE-LABlab(34.10, 56.98, -53.55)
CIE-LCHlch(34.10, 78.19, 316.78°)
OKLaboklab(45.77% 0.1285 -0.1519)
OKLCHoklch(45.77% 0.199 310.2)
XYZxyz(15.4599, 8.0574, 37.2925)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923A7 #51A723
analogous
#3723A7 #7923A7 #A72393
triadic
#7923A7 #A77923 #23A779
tetradic
#7923A7 #A73723 #51A723 #2393A7
square
#7923A7 #A73723 #51A723 #2393A7
split-complementary
#7923A7 #93A723 #23A737
monochromatic
#300E42 #541874 #7923A7 #9C33D4 #B566DF

Accessibility & contrast

On white

8.04
#7923A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7923A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7923A7#FFFFFF#000000##FFFFFF
##7923A71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#724465
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7923a7;
/* rgb */ color: rgb(121, 35, 167);
/* oklch */ color: oklch(45.8% 0.199 310.2);
Tailwind
colors: {
  custom: {
    50: '#a569c2',
    500: '#7923a7',
    950: '#000000',
  },
}
SCSS
$custom: #7923a7;
$custom-light: #a569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7923a7",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 279.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.19894,
    "h": 310.2
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#7923A7
secondary
#84C461
accent
#E83F7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7923A7

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

Preview Lab → · Contrast checker → · Palette generator →

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