#794DC3#794DC3

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

Color values

HEX#794DC3
RGBrgb(121, 77, 195)
HSLhsl(262, 50%, 53%)
HSVhsv(262, 61%, 76%)
CMYKcmyk(37.9%, 60.5%, 0%, 23.5%)
CIE-LABlab(43.23, 44.00, -55.32)
CIE-LCHlch(43.23, 70.68, 308.50°)
OKLaboklab(52.94% 0.0807 -0.1573)
OKLCHoklch(52.94% 0.177 297.1)
XYZxyz(20.3869, 13.3125, 53.1147)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC3 #97C34D
analogous
#4D5CC3 #794DC3 #B44DC3
triadic
#794DC3 #C3794D #4DC379
tetradic
#794DC3 #C34D5C #97C34D #4DC3B4
square
#794DC3 #C34D5C #97C34D #4DC3B4
split-complementary
#794DC3 #C3B44D #5CC34D
monochromatic
#412670 #5C359E #794DC3 #9B7BD2 #BEA9E2

Accessibility & contrast

On white

5.73
#794DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#794DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC3#FFFFFF#000000##FFFFFF
##794DC31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#1965C0
Tritanopia (blue-blind)
#676781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794dc3;
/* rgb */ color: rgb(121, 77, 195);
/* oklch */ color: oklch(52.9% 0.177 297.1);
Tailwind
colors: {
  custom: {
    50: '#a481d6',
    500: '#794dc3',
    950: '#000000',
  },
}
SCSS
$custom: #794dc3;
$custom-light: #a481d6;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc3",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 262.373,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.17678,
    "h": 297.1
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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