#794BCE#794BCE

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

Color values

HEX#794BCE
RGBrgb(121, 75, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 64%, 81%)
CMYKcmyk(41.3%, 63.6%, 0%, 19.2%)
CIE-LABlab(43.58, 48.00, -61.11)
CIE-LCHlch(43.58, 77.71, 308.15°)
OKLaboklab(53.44% 0.0822 -0.1743)
OKLCHoklch(53.44% 0.193 295.2)
XYZxyz(21.5389, 13.5528, 59.8617)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCE #A0CE4B
analogous
#4B5ECE #794BCE #BB4BCE
triadic
#794BCE #CE794B #4BCE79
tetradic
#794BCE #CE4B5E #A0CE4B #4BCEBB
square
#794BCE #CE4B5E #A0CE4B #4BCEBB
split-complementary
#794BCE #CEBB4B #5ECE4B
monochromatic
#42227D #5B2FAD #794BCE #9D7BDB #C1ABE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794BCE#FFFFFF#000000##FFFFFF
##794BCE1.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)
#0068D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#636986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794bce;
/* rgb */ color: rgb(121, 75, 206);
/* oklch */ color: oklch(53.4% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#a680de',
    500: '#794bce',
    950: '#000000',
  },
}
SCSS
$custom: #794bce;
$custom-light: #a680de;
$custom-dark: #000000;
JSON
{
  "hex": "#794bce",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 261.069,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.19275,
    "h": 295.2
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#794BCE
secondary
#C3D69F
accent
#E047AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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