#794BCD#794BCD

#794BCD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.192 H 295.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#794BCD
RGBrgb(121, 75, 205)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(41%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.51, 47.74, -60.65)
CIE-LCHlch(43.51, 77.18, 308.21°)
OKLaboklab(53.36% 0.0823 -0.173)
OKLCHoklch(53.36% 0.192 295.4)
XYZxyz(21.4178, 13.5044, 59.2239)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCD #9FCD4B
analogous
#4B5ECD #794BCD #BA4BCD
triadic
#794BCD #CD794B #4BCD79
tetradic
#794BCD #CD4B5E #9FCD4B #4BCDBA
square
#794BCD #CD4B5E #9FCD4B #4BCDBA
split-complementary
#794BCD #CDBA4B #5ECD4B
monochromatic
#42227B #5B30AB #794BCD #9D7BDA #C0ABE8

Accessibility & contrast

On white

5.67
#794BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#794BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BCD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BCD#FFFFFF#000000##FFFFFF
##794BCD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#636985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794bcd;
/* rgb */ color: rgb(121, 75, 205);
/* oklch */ color: oklch(53.4% 0.192 295.4);
Tailwind
colors: {
  custom: {
    50: '#a680dd',
    500: '#794bcd',
    950: '#000000',
  },
}
SCSS
$custom: #794bcd;
$custom-light: #a680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#794bcd",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 261.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.19156,
    "h": 295.4
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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