#794FDD#794FDD

#794FDD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.205 H 291.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#794FDD
RGBrgb(121, 79, 221)
HSLhsl(258, 68%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(45.2%, 64.3%, 0%, 13.3%)
CIE-LABlab(45.46, 49.90, -66.65)
CIE-LCHlch(45.46, 83.26, 306.82°)
OKLaboklab(55.14% 0.0765 -0.1906)
OKLCHoklch(55.14% 0.205 291.9)
XYZxyz(23.7287, 14.8766, 70.0138)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDD #B3DD4F
analogous
#4F6CDD #794FDD #C04FDD
triadic
#794FDD #DD794F #4FDD79
tetradic
#794FDD #DD4F6C #B3DD4F #4FDDC0
square
#794FDD #DD4F6C #B3DD4F #4FDDC0
split-complementary
#794FDD #DDC04F #6CDD4F
monochromatic
#401D95 #5627C8 #794FDD #A082E7 #C7B6F1

Accessibility & contrast

On white

5.28
#794FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#794FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDD#FFFFFF#000000##FFFFFF
##794FDD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#5B718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794fdd;
/* rgb */ color: rgb(121, 79, 221);
/* oklch */ color: oklch(55.1% 0.205 291.9);
Tailwind
colors: {
  custom: {
    50: '#a783e8',
    500: '#794fdd',
    950: '#000000',
  },
}
SCSS
$custom: #794fdd;
$custom-light: #a783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#794fdd",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 257.746,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.20542,
    "h": 291.9
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#794FDD
secondary
#CFE0A8
accent
#EA3DB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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