#794DC8#794DC8

#794DC8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.183 H 296.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#794DC8
RGBrgb(121, 77, 200)
HSLhsl(261, 53%, 54%)
HSVhsv(261, 62%, 78%)
CMYKcmyk(39.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(43.57, 45.32, -57.67)
CIE-LCHlch(43.57, 73.35, 308.16°)
OKLaboklab(53.29% 0.0804 -0.1642)
OKLCHoklch(53.29% 0.183 296.1)
XYZxyz(20.9617, 13.5424, 56.1419)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DC8 #9CC84D
analogous
#4D5FC8 #794DC8 #B64DC8
triadic
#794DC8 #C8794D #4DC879
tetradic
#794DC8 #C84D5F #9CC84D #4DC8B6
square
#794DC8 #C84D5F #9CC84D #4DC8B6
split-complementary
#794DC8 #C8B64D #5FC84D
monochromatic
#422476 #5C33A5 #794DC8 #9C7CD6 #BFABE5

Accessibility & contrast

On white

5.66
#794DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#794DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DC8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DC8#FFFFFF#000000##FFFFFF
##794DC81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0865C5
Tritanopia (blue-blind)
#656883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794dc8;
/* rgb */ color: rgb(121, 77, 200);
/* oklch */ color: oklch(53.3% 0.183 296.1);
Tailwind
colors: {
  custom: {
    50: '#a581d9',
    500: '#794dc8',
    950: '#000000',
  },
}
SCSS
$custom: #794dc8;
$custom-light: #a581d9;
$custom-dark: #000000;
JSON
{
  "hex": "#794dc8",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 261.463,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.18285,
    "h": 296.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#794DC8
secondary
#C0D29E
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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