#7923A2#7923A2

#7923A2 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 311.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7923A2
RGBrgb(121, 35, 162)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 64%)
CMYKcmyk(25.3%, 78.4%, 0%, 36.5%)
CIE-LABlab(33.72, 55.92, -51.15)
CIE-LCHlch(33.72, 75.78, 317.55°)
OKLaboklab(45.38% 0.1295 -0.1449)
OKLCHoklch(45.38% 0.194 311.8)
XYZxyz(15.0066, 7.8761, 34.9051)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923A2 #4CA223
analogous
#3923A2 #7923A2 #A2238B
triadic
#7923A2 #A27923 #23A279
tetradic
#7923A2 #A23923 #4CA223 #238BA2
square
#7923A2 #A23923 #4CA223 #238BA2
split-complementary
#7923A2 #8BA223 #23A239
monochromatic
#2E0D3D #531870 #7923A2 #9E30D2 #B562DD

Accessibility & contrast

On white

8.15
#7923A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7923A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7923A2#FFFFFF#000000##FFFFFF
##7923A21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#08519F
Tritanopia (blue-blind)
#744262
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7923a2;
/* rgb */ color: rgb(121, 35, 162);
/* oklch */ color: oklch(45.4% 0.194 311.8);
Tailwind
colors: {
  custom: {
    50: '#a468be',
    500: '#7923a2',
    950: '#000000',
  },
}
SCSS
$custom: #7923a2;
$custom-light: #a468be;
$custom-dark: #000000;
JSON
{
  "hex": "#7923a2",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 280.63,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.19431,
    "h": 311.8
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#7923A2
secondary
#7FC25E
accent
#E74076
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7923A2

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

Preview Lab → · Contrast checker → · Palette generator →

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