#794FC0#794FC0

#794FC0 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.170 H 297.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#794FC0
RGBrgb(121, 79, 192)
HSLhsl(262, 47%, 53%)
HSVhsv(262, 59%, 75%)
CMYKcmyk(37%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.45, 42.09, -53.22)
CIE-LCHlch(43.45, 67.85, 308.34°)
OKLaboklab(53.04% 0.0784 -0.1511)
OKLCHoklch(53.04% 0.17 297.4)
XYZxyz(20.1932, 13.4624, 51.3936)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FC0 #96C04F
analogous
#4F5DC0 #794FC0 #B14FC0
triadic
#794FC0 #C0794F #4FC079
tetradic
#794FC0 #C04F5D #96C04F #4FC0B1
square
#794FC0 #C04F5D #96C04F #4FC0B1
split-complementary
#794FC0 #C0B14F #5DC04F
monochromatic
#41276D #5C379A #794FC0 #9B7CD0 #BEA9E0

Accessibility & contrast

On white

5.69
#794FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#794FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FC0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FC0#FFFFFF#000000##FFFFFF
##794FC01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B67C4
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#686780
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794fc0;
/* rgb */ color: rgb(121, 79, 192);
/* oklch */ color: oklch(53.0% 0.170 297.4);
Tailwind
colors: {
  custom: {
    50: '#a482d4',
    500: '#794fc0',
    950: '#000000',
  },
}
SCSS
$custom: #794fc0;
$custom-light: #a482d4;
$custom-dark: #000000;
JSON
{
  "hex": "#794fc0",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 262.301,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.17025,
    "h": 297.4
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#794FC0
secondary
#BCCE9D
accent
#D751A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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