#792893#792893

#792893 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 316.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#792893
RGBrgb(121, 40, 147)
HSLhsl(285, 57%, 37%)
HSVhsv(285, 73%, 58%)
CMYKcmyk(17.7%, 72.8%, 0%, 42.4%)
CIE-LABlab(33.33, 50.87, -42.66)
CIE-LCHlch(33.33, 66.39, 320.01°)
OKLaboklab(44.77% 0.127 -0.12)
OKLCHoklch(44.77% 0.175 316.6)
XYZxyz(13.9096, 7.6897, 28.3497)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792893 #429328
analogous
#442893 #792893 #932878
triadic
#792893 #937928 #289379
tetradic
#792893 #934428 #429328 #287893
square
#792893 #934428 #429328 #287893
split-complementary
#792893 #789328 #289344
monochromatic
#2A0E33 #511B63 #792893 #A135C3 #B861D4

Accessibility & contrast

On white

8.27
#792893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792893
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792893#FFFFFF#000000##FFFFFF
##7928931.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#783E5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792893;
/* rgb */ color: rgb(121, 40, 147);
/* oklch */ color: oklch(44.8% 0.175 316.6);
Tailwind
colors: {
  custom: {
    50: '#a36ab3',
    500: '#792893',
    950: '#000000',
  },
}
SCSS
$custom: #792893;
$custom-light: #a36ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#792893",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 285.421,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.17469,
    "h": 316.6
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#792893
secondary
#74BA5D
accent
#E0476D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792893

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

Preview Lab → · Contrast checker → · Palette generator →

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