#7923A8#7923A8

#7923A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.200 H 309.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7923A8
RGBrgb(121, 35, 168)
HSLhsl(279, 66%, 40%)
HSVhsv(279, 79%, 66%)
CMYKcmyk(28%, 79.2%, 0%, 34.1%)
CIE-LABlab(34.18, 57.19, -54.03)
CIE-LCHlch(34.18, 78.67, 316.63°)
OKLaboklab(45.85% 0.1282 -0.1533)
OKLCHoklch(45.85% 0.2 309.9)
XYZxyz(15.5527, 8.0945, 37.7813)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7923A8 #52A823
analogous
#3723A8 #7923A8 #A82395
triadic
#7923A8 #A87923 #23A879
tetradic
#7923A8 #A83723 #52A823 #2395A8
square
#7923A8 #A83723 #52A823 #2395A8
split-complementary
#7923A8 #95A823 #23A837
monochromatic
#300E43 #551875 #7923A8 #9C34D5 #B466DF

Accessibility & contrast

On white

8.02
#7923A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7923A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7923A8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7923A8#FFFFFF#000000##FFFFFF
##7923A81.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#724466
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7923a8;
/* rgb */ color: rgb(121, 35, 168);
/* oklch */ color: oklch(45.8% 0.200 309.9);
Tailwind
colors: {
  custom: {
    50: '#a569c3',
    500: '#7923a8',
    950: '#000000',
  },
}
SCSS
$custom: #7923a8;
$custom-light: #a569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7923a8",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 278.797,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.19987,
    "h": 309.9
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#7923A8
secondary
#85C562
accent
#E83F7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7923A8

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

Preview Lab → · Contrast checker → · Palette generator →

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