#794CD8#794CD8

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

Color values

HEX#794CD8
RGBrgb(121, 76, 216)
HSLhsl(259, 64%, 57%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.51, 50.15, -65.36)
CIE-LCHlch(44.51, 82.38, 307.50°)
OKLaboklab(54.33% 0.0801 -0.1868)
OKLCHoklch(54.33% 0.203 293.2)
XYZxyz(22.8609, 14.1910, 66.4871)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD8 #ABD84C
analogous
#4C65D8 #794CD8 #BF4CD8
triadic
#794CD8 #D8794C #4CD879
tetradic
#794CD8 #D84C65 #ABD84C #4CD8BF
square
#794CD8 #D84C65 #ABD84C #4CD8BF
split-complementary
#794CD8 #D8BF4C #65D84C
monochromatic
#411E8B #5929BE #794CD8 #9F7EE3 #C4B1EE

Accessibility & contrast

On white

5.47
#794CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#794CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD8#FFFFFF#000000##FFFFFF
##794CD81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#5E6D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794cd8;
/* rgb */ color: rgb(121, 76, 216);
/* oklch */ color: oklch(54.3% 0.203 293.2);
Tailwind
colors: {
  custom: {
    50: '#a781e5',
    500: '#794cd8',
    950: '#000000',
  },
}
SCSS
$custom: #794cd8;
$custom-light: #a781e5;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd8",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 259.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.20329,
    "h": 293.2
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#794CD8
secondary
#CADCA4
accent
#E741B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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