#794DCE#794DCE

#794DCE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.190 H 294.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#794DCE
RGBrgb(121, 77, 206)
HSLhsl(260, 57%, 55%)
HSVhsv(260, 63%, 81%)
CMYKcmyk(41.3%, 62.6%, 0%, 19.2%)
CIE-LABlab(43.99, 46.92, -60.46)
CIE-LCHlch(43.99, 76.53, 307.82°)
OKLaboklab(53.73% 0.08 -0.1724)
OKLCHoklch(53.73% 0.19 294.9)
XYZxyz(21.6767, 13.8284, 59.9076)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DCE #A2CE4D
analogous
#4D61CE #794DCE #B94DCE
triadic
#794DCE #CE794D #4DCE79
tetradic
#794DCE #CE4D61 #A2CE4D #4DCEB9
square
#794DCE #CE4D61 #A2CE4D #4DCEB9
split-complementary
#794DCE #CEB94D #61CE4D
monochromatic
#42237E #5B30AE #794DCE #9D7DDB #C1ADE8

Accessibility & contrast

On white

5.58
#794DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#794DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DCE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DCE#FFFFFF#000000##FFFFFF
##794DCE1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#636A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794dce;
/* rgb */ color: rgb(121, 77, 206);
/* oklch */ color: oklch(53.7% 0.190 294.9);
Tailwind
colors: {
  custom: {
    50: '#a681de',
    500: '#794dce',
    950: '#000000',
  },
}
SCSS
$custom: #794dce;
$custom-light: #a681de;
$custom-dark: #000000;
JSON
{
  "hex": "#794dce",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 260.465,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.19009,
    "h": 294.9
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#794DCE
secondary
#C4D6A1
accent
#E048AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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