#794DDB#794DDB

#794DDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.206 H 292.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#794DDB
RGBrgb(121, 77, 219)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(44.7%, 64.8%, 0%, 14.1%)
CIE-LABlab(44.92, 50.43, -66.39)
CIE-LCHlch(44.92, 83.37, 307.22°)
OKLaboklab(54.7% 0.0788 -0.1899)
OKLCHoklch(54.7% 0.206 292.5)
XYZxyz(23.3217, 14.4864, 68.5715)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DDB #AFDB4D
analogous
#4D68DB #794DDB #C04DDB
triadic
#794DDB #DB794D #4DDB79
tetradic
#794DDB #DB4D68 #AFDB4D #4DDBC0
square
#794DDB #DB4D68 #AFDB4D #4DDBC0
split-complementary
#794DDB #DBC04D #68DB4D
monochromatic
#411D90 #5827C3 #794DDB #9F80E5 #C6B3F0

Accessibility & contrast

On white

5.39
#794DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#794DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DDB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DDB#FFFFFF#000000##FFFFFF
##794DDB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#5C6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ddb;
/* rgb */ color: rgb(121, 77, 219);
/* oklch */ color: oklch(54.7% 0.206 292.5);
Tailwind
colors: {
  custom: {
    50: '#a781e7',
    500: '#794ddb',
    950: '#000000',
  },
}
SCSS
$custom: #794ddb;
$custom-light: #a781e7;
$custom-dark: #000000;
JSON
{
  "hex": "#794ddb",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 258.592,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.547,
    "c": 0.20556,
    "h": 292.5
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#794DDB
secondary
#CDDEA6
accent
#E93FB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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