#793880#793880

#793880 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.5% C 0.133 H 323.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#793880
RGBrgb(121, 56, 128)
HSLhsl(294, 39%, 36%)
HSVhsv(294, 56%, 50%)
CMYKcmyk(5.5%, 56.3%, 0%, 49.8%)
CIE-LABlab(34.91, 39.47, -28.43)
CIE-LCHlch(34.91, 48.64, 324.24°)
OKLaboklab(45.54% 0.1068 -0.0786)
OKLCHoklch(45.54% 0.133 323.6)
XYZxyz(13.1952, 8.4525, 21.3543)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793880 #3F8038
analogous
#553880 #793880 #803863
triadic
#793880 #807938 #388079
tetradic
#793880 #805538 #3F8038 #386380
square
#793880 #805538 #3F8038 #386380
split-complementary
#793880 #638038 #388055
monochromatic
#29132B #512555 #793880 #A14BAB #B971C1

Accessibility & contrast

On white

7.81
#793880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#793880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793880
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793880#FFFFFF#000000##FFFFFF
##7938801.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D82
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#7B4256
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793880;
/* rgb */ color: rgb(121, 56, 128);
/* oklch */ color: oklch(45.5% 0.133 323.6);
Tailwind
colors: {
  custom: {
    50: '#a272a5',
    500: '#793880',
    950: '#000000',
  },
}
SCSS
$custom: #793880;
$custom-light: #a272a5;
$custom-dark: #000000;
JSON
{
  "hex": "#793880",
  "rgb": {
    "r": 121,
    "g": 56,
    "b": 128
  },
  "hsl": {
    "h": 294.167,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.1326,
    "h": 323.6
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#793880
secondary
#70AA6A
accent
#CF5964
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #793880

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

Preview Lab → · Contrast checker → · Palette generator →

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