#794DC2#794DC2

#794DC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.176 H 297.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#794DC2
RGBrgb(121, 77, 194)
HSLhsl(263, 49%, 53%)
HSVhsv(263, 60%, 76%)
CMYKcmyk(37.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(43.16, 43.73, -54.85)
CIE-LCHlch(43.16, 70.15, 308.57°)
OKLaboklab(52.87% 0.0807 -0.1559)
OKLCHoklch(52.87% 0.176 297.4)
XYZxyz(20.2742, 13.2674, 52.5212)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC2 #96C24D
analogous
#4D5BC2 #794DC2 #B34DC2
triadic
#794DC2 #C2794D #4DC279
tetradic
#794DC2 #C24D5B #96C24D #4DC2B3
square
#794DC2 #C24D5B #96C24D #4DC2B3
split-complementary
#794DC2 #C2B34D #5BC24D
monochromatic
#41266F #5C369C #794DC2 #9B7BD2 #BEA8E1

Accessibility & contrast

On white

5.75
#794DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#794DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC2#FFFFFF#000000##FFFFFF
##794DC21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1B65BF
Tritanopia (blue-blind)
#686680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794dc2;
/* rgb */ color: rgb(121, 77, 194);
/* oklch */ color: oklch(52.9% 0.176 297.4);
Tailwind
colors: {
  custom: {
    50: '#a481d5',
    500: '#794dc2',
    950: '#000000',
  },
}
SCSS
$custom: #794dc2;
$custom-light: #a481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc2",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 262.564,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.17557,
    "h": 297.4
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#794DC2
secondary
#BCCF9C
accent
#D94FA5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794DC2

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

Preview Lab → · Contrast checker → · Palette generator →

#794DC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva