#794CCC#794CCC

#794CCC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.189 H 295.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#794CCC
RGBrgb(121, 76, 204)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(40.7%, 62.7%, 0%, 20%)
CIE-LABlab(43.64, 46.93, -59.86)
CIE-LCHlch(43.64, 76.07, 308.10°)
OKLaboklab(53.43% 0.0813 -0.1707)
OKLCHoklch(53.43% 0.189 295.5)
XYZxyz(21.3658, 13.5930, 58.6130)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CCC #9FCC4C
analogous
#4C5FCC #794CCC #B94CCC
triadic
#794CCC #CC794C #4CCC79
tetradic
#794CCC #CC4C5F #9FCC4C #4CCCB9
square
#794CCC #CC4C5F #9FCC4C #4CCCB9
split-complementary
#794CCC #CCB94C #5FCC4C
monochromatic
#42237B #5B31AA #794CCC #9D7CDA #C0ABE7

Accessibility & contrast

On white

5.65
#794CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#794CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CCC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CCC#FFFFFF#000000##FFFFFF
##794CCC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#646985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794ccc;
/* rgb */ color: rgb(121, 76, 204);
/* oklch */ color: oklch(53.4% 0.189 295.5);
Tailwind
colors: {
  custom: {
    50: '#a580dc',
    500: '#794ccc',
    950: '#000000',
  },
}
SCSS
$custom: #794ccc;
$custom-light: #a580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794ccc",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 261.094,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.18903,
    "h": 295.5
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#794CCC
secondary
#C2D59F
accent
#DF49AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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