#794883#794883

#794883 is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.2% C 0.107 H 320.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#794883
RGBrgb(121, 72, 131)
HSLhsl(290, 29%, 40%)
HSVhsv(290, 45%, 51%)
CMYKcmyk(7.6%, 45%, 0%, 48.6%)
CIE-LABlab(38.44, 31.25, -24.74)
CIE-LCHlch(38.44, 39.86, 321.63°)
OKLaboklab(48.21% 0.0831 -0.0681)
OKLCHoklch(48.21% 0.107 320.6)
XYZxyz(14.2988, 10.3389, 22.7107)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794883 #528348
analogous
#5C4883 #794883 #83486F
triadic
#794883 #837948 #488379
tetradic
#794883 #835C48 #528348 #486F83
square
#794883 #835C48 #528348 #486F83
split-complementary
#794883 #6F8348 #48835C
monochromatic
#301D34 #55325C #794883 #9C60A8 #B488BE

Accessibility & contrast

On white

6.85
#794883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#794883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794883
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794883#FFFFFF#000000##FFFFFF
##7948831.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405785
Deuteranopia (green-blind)
#4D5C81
Tritanopia (blue-blind)
#7A4F5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #794883;
/* rgb */ color: rgb(121, 72, 131);
/* oklch */ color: oklch(48.2% 0.107 320.6);
Tailwind
colors: {
  custom: {
    50: '#a17ca7',
    500: '#794883',
    950: '#000000',
  },
}
SCSS
$custom: #794883;
$custom-light: #a17ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#794883",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 289.831,
    "s": 29.064,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.10743,
    "h": 320.6
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#794883
secondary
#85A97E
accent
#C56273
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794883

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

Preview Lab → · Contrast checker → · Palette generator →

#794883 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva