#7923A1#7923A1

#7923A1 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.193 H 312.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7923A1
RGBrgb(121, 35, 161)
HSLhsl(281, 64%, 38%)
HSVhsv(281, 78%, 63%)
CMYKcmyk(24.8%, 78.3%, 0%, 36.9%)
CIE-LABlab(33.65, 55.71, -50.67)
CIE-LCHlch(33.65, 75.30, 317.71°)
OKLaboklab(45.31% 0.1297 -0.1434)
OKLCHoklch(45.31% 0.193 312.1)
XYZxyz(14.9180, 7.8406, 34.4388)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923A1 #4BA123
analogous
#3A23A1 #7923A1 #A1238A
triadic
#7923A1 #A17923 #23A179
tetradic
#7923A1 #A13A23 #4BA123 #238AA1
square
#7923A1 #A13A23 #4BA123 #238AA1
split-complementary
#7923A1 #8AA123 #23A13A
monochromatic
#2D0D3C #53186F #7923A1 #9E2FD2 #B662DD

Accessibility & contrast

On white

8.18
#7923A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7923A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7923A1#FFFFFF#000000##FFFFFF
##7923A11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#0B519E
Tritanopia (blue-blind)
#744162
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7923a1;
/* rgb */ color: rgb(121, 35, 161);
/* oklch */ color: oklch(45.3% 0.193 312.1);
Tailwind
colors: {
  custom: {
    50: '#a468be',
    500: '#7923a1',
    950: '#000000',
  },
}
SCSS
$custom: #7923a1;
$custom-light: #a468be;
$custom-dark: #000000;
JSON
{
  "hex": "#7923a1",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 280.952,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.19338,
    "h": 312.1
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#7923A1
secondary
#7EC25E
accent
#E74175
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7923A1

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

Preview Lab → · Contrast checker → · Palette generator →

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