#7923C1#7923C1

#7923C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.223 H 303.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7923C1
RGBrgb(121, 35, 193)
HSLhsl(273, 69%, 45%)
HSVhsv(273, 82%, 76%)
CMYKcmyk(37.3%, 81.9%, 0%, 24.3%)
CIE-LABlab(36.21, 62.67, -65.56)
CIE-LCHlch(36.21, 90.70, 313.71°)
OKLaboklab(47.89% 0.1215 -0.1872)
OKLCHoklch(47.89% 0.223 303)
XYZxyz(18.1095, 9.1172, 51.2475)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923C1 #6BC123
analogous
#2A23C1 #7923C1 #C123BA
triadic
#7923C1 #C17923 #23C179
tetradic
#7923C1 #C12A23 #6BC123 #23BAC1
square
#7923C1 #C12A23 #6BC123 #23BAC1
split-complementary
#7923C1 #BAC123 #23C12A
monochromatic
#381059 #591A8D #7923C1 #9744DD #B478E6

Accessibility & contrast

On white

7.44
#7923C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7923C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7923C1#FFFFFF#000000##FFFFFF
##7923C11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#6A5074
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7923c1;
/* rgb */ color: rgb(121, 35, 193);
/* oklch */ color: oklch(47.9% 0.223 303.0);
Tailwind
colors: {
  custom: {
    50: '#a76ad5',
    500: '#7923c1',
    950: '#000000',
  },
}
SCSS
$custom: #7923c1;
$custom-light: #a76ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7923c1",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 272.658,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.22319,
    "h": 303
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#7923C1
secondary
#9CCE72
accent
#EC3C8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7923C1

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

Preview Lab → · Contrast checker → · Palette generator →

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