#7923A6#7923A6

#7923A6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.7% C 0.198 H 310.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7923A6
RGBrgb(121, 35, 166)
HSLhsl(279, 65%, 39%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(27.1%, 78.9%, 0%, 34.9%)
CIE-LABlab(34.03, 56.76, -53.07)
CIE-LCHlch(34.03, 77.71, 316.93°)
OKLaboklab(45.69% 0.1287 -0.1505)
OKLCHoklch(45.69% 0.198 310.5)
XYZxyz(15.3678, 8.0205, 36.8076)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923A6 #50A623
analogous
#3723A6 #7923A6 #A62392
triadic
#7923A6 #A67923 #23A679
tetradic
#7923A6 #A63723 #50A623 #2392A6
square
#7923A6 #A63723 #50A623 #2392A6
split-complementary
#7923A6 #92A623 #23A637
monochromatic
#2F0E41 #541873 #7923A6 #9C32D4 #B565DF

Accessibility & contrast

On white

8.06
#7923A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7923A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7923A6#FFFFFF#000000##FFFFFF
##7923A61.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#734364
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7923a6;
/* rgb */ color: rgb(121, 35, 166);
/* oklch */ color: oklch(45.7% 0.198 310.5);
Tailwind
colors: {
  custom: {
    50: '#a568c1',
    500: '#7923a6',
    950: '#000000',
  },
}
SCSS
$custom: #7923a6;
$custom-light: #a568c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7923a6",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 279.389,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.19801,
    "h": 310.5
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#7923A6
secondary
#83C461
accent
#E8407A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7923A6

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

Preview Lab → · Contrast checker → · Palette generator →

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