#794ACF#794ACF

#794ACF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.195 H 295.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#794ACF
RGBrgb(121, 74, 207)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 64%, 81%)
CMYKcmyk(41.5%, 64.3%, 0%, 18.8%)
CIE-LABlab(43.46, 48.80, -61.89)
CIE-LCHlch(43.46, 78.82, 308.26°)
OKLaboklab(53.37% 0.0832 -0.1766)
OKLCHoklch(53.37% 0.195 295.2)
XYZxyz(21.5934, 13.4670, 60.4811)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ACF #A0CF4A
analogous
#4A5DCF #794ACF #BC4ACF
triadic
#794ACF #CF794A #4ACF79
tetradic
#794ACF #CF4A5D #A0CF4A #4ACFBC
square
#794ACF #CF4A5D #A0CF4A #4ACFBC
split-complementary
#794ACF #CFBC4A #5DCF4A
monochromatic
#42217D #5B2EAE #794ACF #9D7ADC #C1ABE9

Accessibility & contrast

On white

5.69
#794ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#794ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ACF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ACF#FFFFFF#000000##FFFFFF
##794ACF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#626986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794acf;
/* rgb */ color: rgb(121, 74, 207);
/* oklch */ color: oklch(53.4% 0.195 295.2);
Tailwind
colors: {
  custom: {
    50: '#a67fdf',
    500: '#794acf',
    950: '#000000',
  },
}
SCSS
$custom: #794acf;
$custom-light: #a67fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#794acf",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 261.203,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.19524,
    "h": 295.2
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#794ACF
secondary
#C3D69F
accent
#E146AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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