#794BDA#794BDA

#794BDA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.207 H 293.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#794BDA
RGBrgb(121, 75, 218)
HSLhsl(259, 66%, 57%)
HSVhsv(259, 66%, 85%)
CMYKcmyk(44.5%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.46, 51.22, -66.58)
CIE-LCHlch(44.46, 84.00, 307.57°)
OKLaboklab(54.34% 0.0809 -0.1904)
OKLCHoklch(54.34% 0.207 293)
XYZxyz(23.0527, 14.1584, 67.8343)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BDA #ACDA4B
analogous
#4B64DA #794BDA #C14BDA
triadic
#794BDA #DA794B #4BDA79
tetradic
#794BDA #DA4B64 #ACDA4B #4BDAC1
square
#794BDA #DA4B64 #ACDA4B #4BDAC1
split-complementary
#794BDA #DAC14B #64DA4B
monochromatic
#411D8E #5928C0 #794BDA #9F7EE4 #C5B1EF

Accessibility & contrast

On white

5.48
#794BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#794BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BDA#FFFFFF#000000##FFFFFF
##794BDA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#5D6D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794bda;
/* rgb */ color: rgb(121, 75, 218);
/* oklch */ color: oklch(54.3% 0.207 293.0);
Tailwind
colors: {
  custom: {
    50: '#a780e6',
    500: '#794bda',
    950: '#000000',
  },
}
SCSS
$custom: #794bda;
$custom-light: #a780e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794bda",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 259.301,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.20689,
    "h": 293
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#794BDA
secondary
#CBDDA4
accent
#E93FB2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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