#792294#792294

#792294 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.183 H 316.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792294
RGBrgb(121, 34, 148)
HSLhsl(286, 63%, 36%)
HSVhsv(286, 77%, 58%)
CMYKcmyk(18.2%, 77%, 0%, 42%)
CIE-LABlab(32.59, 53.38, -44.47)
CIE-LCHlch(32.59, 69.48, 320.21°)
OKLaboklab(44.26% 0.1328 -0.1252)
OKLCHoklch(44.26% 0.183 316.7)
XYZxyz(13.8017, 7.3477, 28.7025)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792294 #3D9422
analogous
#402294 #792294 #942276
triadic
#792294 #947922 #229479
tetradic
#792294 #944022 #3D9422 #227694
square
#792294 #944022 #3D9422 #227694
split-complementary
#792294 #769422 #229440
monochromatic
#280B30 #501762 #792294 #A22DC6 #BA58D9

Accessibility & contrast

On white

8.50
#792294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792294
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792294#FFFFFF#000000##FFFFFF
##7922941.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#773B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792294;
/* rgb */ color: rgb(121, 34, 148);
/* oklch */ color: oklch(44.3% 0.183 316.7);
Tailwind
colors: {
  custom: {
    50: '#a467b4',
    500: '#792294',
    950: '#000000',
  },
}
SCSS
$custom: #792294;
$custom-light: #a467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#792294",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 285.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.18253,
    "h": 316.7
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#792294
secondary
#6EBD55
accent
#E64269
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792294

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

Preview Lab → · Contrast checker → · Palette generator →

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