#794BCC#794BCC

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

Color values

HEX#794BCC
RGBrgb(121, 75, 204)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(40.7%, 63.2%, 0%, 20%)
CIE-LABlab(43.44, 47.47, -60.19)
CIE-LCHlch(43.44, 76.66, 308.26°)
OKLaboklab(53.29% 0.0824 -0.1716)
OKLCHoklch(53.29% 0.19 295.6)
XYZxyz(21.2975, 13.4563, 58.5903)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCC #9ECC4B
analogous
#4B5ECC #794BCC #B94BCC
triadic
#794BCC #CC794B #4BCC79
tetradic
#794BCC #CC4B5E #9ECC4B #4BCCB9
square
#794BCC #CC4B5E #9ECC4B #4BCCB9
split-complementary
#794BCC #CCB94B #5ECC4B
monochromatic
#42237A #5B30AA #794BCC #9D7BDA #C0AAE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794BCC#FFFFFF#000000##FFFFFF
##794BCC1.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)
#0068D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#646885
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794bcc;
/* rgb */ color: rgb(121, 75, 204);
/* oklch */ color: oklch(53.3% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#a580dc',
    500: '#794bcc',
    950: '#000000',
  },
}
SCSS
$custom: #794bcc;
$custom-light: #a580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794bcc",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 261.395,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.19037,
    "h": 295.6
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#794BCC
secondary
#C1D59E
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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