#793983#793983

#793983 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.134 H 322.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#793983
RGBrgb(121, 57, 131)
HSLhsl(292, 39%, 37%)
HSVhsv(292, 56%, 51%)
CMYKcmyk(7.6%, 56.5%, 0%, 48.6%)
CIE-LABlab(35.26, 39.56, -29.73)
CIE-LCHlch(35.26, 49.48, 323.08°)
OKLaboklab(45.85% 0.1057 -0.0824)
OKLCHoklch(45.85% 0.134 322.1)
XYZxyz(13.4446, 8.6305, 22.4260)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793983 #438339
analogous
#543983 #793983 #833968
triadic
#793983 #837939 #398379
tetradic
#793983 #835439 #438339 #396883
square
#793983 #835439 #438339 #396883
split-complementary
#793983 #688339 #398354
monochromatic
#2A142E #522658 #793983 #A04CAE #B874C2

Accessibility & contrast

On white

7.70
#793983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#793983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793983
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793983#FFFFFF#000000##FFFFFF
##7939831.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#425581
Tritanopia (blue-blind)
#7B4358
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793983;
/* rgb */ color: rgb(121, 57, 131);
/* oklch */ color: oklch(45.9% 0.134 322.1);
Tailwind
colors: {
  custom: {
    50: '#a273a7',
    500: '#793983',
    950: '#000000',
  },
}
SCSS
$custom: #793983;
$custom-light: #a273a7;
$custom-dark: #000000;
JSON
{
  "hex": "#793983",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 291.892,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.134,
    "h": 322.1
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#793983
secondary
#75AC6C
accent
#CF5969
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #793983

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

Preview Lab → · Contrast checker → · Palette generator →

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