#794892#794892

#794892 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.125 H 313.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#794892
RGBrgb(121, 72, 146)
HSLhsl(280, 34%, 43%)
HSVhsv(280, 51%, 57%)
CMYKcmyk(17.1%, 50.7%, 0%, 42.7%)
CIE-LABlab(39.20, 34.59, -32.70)
CIE-LCHlch(39.20, 47.60, 316.61°)
OKLaboklab(49.02% 0.0855 -0.0911)
OKLCHoklch(49.02% 0.125 313.2)
XYZxyz(15.3900, 10.7754, 28.4577)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794892 #619248
analogous
#544892 #794892 #924886
triadic
#794892 #927948 #489279
tetradic
#794892 #925448 #619248 #488692
square
#794892 #925448 #619248 #488692
split-complementary
#794892 #869248 #489254
monochromatic
#352040 #573469 #794892 #9864B3 #B48DC7

Accessibility & contrast

On white

6.66
#794892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#794892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794892
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794892#FFFFFF#000000##FFFFFF
##7948921.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#775466
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794892;
/* rgb */ color: rgb(121, 72, 146);
/* oklch */ color: oklch(49.0% 0.125 313.2);
Tailwind
colors: {
  custom: {
    50: '#a17db2',
    500: '#794892',
    950: '#000000',
  },
}
SCSS
$custom: #794892;
$custom-light: #a17db2;
$custom-dark: #000000;
JSON
{
  "hex": "#794892",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 279.73,
    "s": 33.945,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.12495,
    "h": 313.2
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#794892
secondary
#93B383
accent
#CA5E82
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794892

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

Preview Lab → · Contrast checker → · Palette generator →

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