#7923C5#7923C5

#7923C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.227 H 302.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7923C5
RGBrgb(121, 35, 197)
HSLhsl(272, 70%, 45%)
HSVhsv(272, 82%, 77%)
CMYKcmyk(38.6%, 82.2%, 0%, 22.7%)
CIE-LABlab(36.55, 63.57, -67.34)
CIE-LCHlch(36.55, 92.61, 313.35°)
OKLaboklab(48.23% 0.1203 -0.1924)
OKLCHoklch(48.23% 0.227 302)
XYZxyz(18.5618, 9.2981, 53.6293)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923C5 #6FC523
analogous
#2823C5 #7923C5 #C523C0
triadic
#7923C5 #C57923 #23C579
tetradic
#7923C5 #C52823 #6FC523 #23C0C5
square
#7923C5 #C52823 #6FC523 #23C0C5
split-complementary
#7923C5 #C0C523 #23C528
monochromatic
#39115D #591A91 #7923C5 #9747DE #B57BE8

Accessibility & contrast

On white

7.34
#7923C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7923C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7923C5
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7923C5#FFFFFF#000000##FFFFFF
##7923C51.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#685176
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7923c5;
/* rgb */ color: rgb(121, 35, 197);
/* oklch */ color: oklch(48.2% 0.227 302.0);
Tailwind
colors: {
  custom: {
    50: '#a76ad8',
    500: '#7923c5',
    950: '#000000',
  },
}
SCSS
$custom: #7923c5;
$custom-light: #a76ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7923c5",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 197
  },
  "hsl": {
    "h": 271.852,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.22693,
    "h": 302
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#7923C5
secondary
#9FCF74
accent
#ED3B8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7923C5

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

Preview Lab → · Contrast checker → · Palette generator →

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