#7900A8#7900A8

#7900A8 is a dark, highly saturated purple. Relative luminance 0.069; OKLCH L 44.0% C 0.221 H 311.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7900A8
RGBrgb(121, 0, 168)
HSLhsl(283, 100%, 33%)
HSVhsv(283, 100%, 66%)
CMYKcmyk(28%, 100%, 0%, 34.1%)
CIE-LABlab(31.56, 64.91, -58.29)
CIE-LCHlch(31.56, 87.24, 318.07°)
OKLaboklab(44.03% 0.1463 -0.1656)
OKLCHoklch(44.03% 0.221 311.4)
XYZxyz(14.9517, 6.8925, 37.5810)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7900A8 #2FA800
analogous
#2500A8 #7900A8 #A80083
triadic
#7900A8 #A87900 #00A879
tetradic
#7900A8 #A82500 #2FA800 #0083A8
square
#7900A8 #A82500 #2FA800 #0083A8
split-complementary
#7900A8 #83A800 #00A825
monochromatic
#21002E #4D006B #7900A8 #A500E5 #C223FF

Accessibility & contrast

On white

8.83
#7900A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7900A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7900A8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7900A8#FFFFFF#000000##FFFFFF
##7900A81.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#733A61
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7900a8;
/* rgb */ color: rgb(121, 0, 168);
/* oklch */ color: oklch(44.0% 0.221 311.4);
Tailwind
colors: {
  custom: {
    50: '#a65fc3',
    500: '#7900a8',
    950: '#000000',
  },
}
SCSS
$custom: #7900a8;
$custom-light: #a65fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7900a8",
  "rgb": {
    "r": 121,
    "g": 0,
    "b": 168
  },
  "hsl": {
    "h": 283.214,
    "s": 100,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.22099,
    "h": 311.4
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7900A8
secondary
#5BD92A
accent
#FF2965
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7900A8

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

Preview Lab → · Contrast checker → · Palette generator →

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