#794DC0#794DC0

#794DC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.173 H 297.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#794DC0
RGBrgb(121, 77, 192)
HSLhsl(263, 48%, 53%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(37%, 59.9%, 0%, 24.7%)
CIE-LABlab(43.03, 43.21, -53.90)
CIE-LCHlch(43.03, 69.08, 308.72°)
OKLaboklab(52.73% 0.0808 -0.1531)
OKLCHoklch(52.73% 0.173 297.8)
XYZxyz(20.0511, 13.1782, 51.3462)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC0 #94C04D
analogous
#4D5AC0 #794DC0 #B34DC0
triadic
#794DC0 #C0794D #4DC079
tetradic
#794DC0 #C04D5A #94C04D #4DC0B3
square
#794DC0 #C04D5A #94C04D #4DC0B3
split-complementary
#794DC0 #C0B34D #5AC04D
monochromatic
#41266C #5C3699 #794DC0 #9B7AD0 #BDA7E0

Accessibility & contrast

On white

5.78
#794DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#794DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC0#FFFFFF#000000##FFFFFF
##794DC01.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#69667F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794dc0;
/* rgb */ color: rgb(121, 77, 192);
/* oklch */ color: oklch(52.7% 0.173 297.8);
Tailwind
colors: {
  custom: {
    50: '#a481d4',
    500: '#794dc0',
    950: '#000000',
  },
}
SCSS
$custom: #794dc0;
$custom-light: #a481d4;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc0",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 262.957,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.17313,
    "h": 297.8
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#794DC0
secondary
#BACD9B
accent
#D750A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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