#794783#794783

#794783 is a mid, moderate purple. Relative luminance 0.102; OKLCH L 48.0% C 0.109 H 320.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#794783
RGBrgb(121, 71, 131)
HSLhsl(290, 30%, 40%)
HSVhsv(290, 46%, 51%)
CMYKcmyk(7.6%, 45.8%, 0%, 48.6%)
CIE-LABlab(38.22, 31.83, -25.09)
CIE-LCHlch(38.22, 40.53, 321.75°)
OKLaboklab(48.04% 0.0846 -0.0691)
OKLCHoklch(48.04% 0.109 320.8)
XYZxyz(14.2346, 10.2106, 22.6894)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794783 #518347
analogous
#5B4783 #794783 #83476F
triadic
#794783 #837947 #478379
tetradic
#794783 #835B47 #518347 #476F83
square
#794783 #835B47 #518347 #476F83
split-complementary
#794783 #6F8347 #47835B
monochromatic
#301C34 #54315B #794783 #9C5FA8 #B587BE

Accessibility & contrast

On white

6.90
#794783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#794783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794783
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794783#FFFFFF#000000##FFFFFF
##7947831.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5685
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#7A4E5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #794783;
/* rgb */ color: rgb(121, 71, 131);
/* oklch */ color: oklch(48.0% 0.109 320.8);
Tailwind
colors: {
  custom: {
    50: '#a17ca7',
    500: '#794783',
    950: '#000000',
  },
}
SCSS
$custom: #794783;
$custom-light: #a17ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#794783",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 290,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.10928,
    "h": 320.8
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#794783
secondary
#84A97C
accent
#C66273
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #794783

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

Preview Lab → · Contrast checker → · Palette generator →

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