#794ECF#794ECF

#794ECF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.190 H 294.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#794ECF
RGBrgb(121, 78, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 62%, 81%)
CMYKcmyk(41.5%, 62.3%, 0%, 18.8%)
CIE-LABlab(44.26, 46.65, -60.59)
CIE-LCHlch(44.26, 76.47, 307.59°)
OKLaboklab(53.95% 0.0788 -0.1728)
OKLCHoklch(53.95% 0.19 294.5)
XYZxyz(21.8690, 14.0182, 60.5729)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ECF #A4CF4E
analogous
#4E63CF #794ECF #B94ECF
triadic
#794ECF #CF794E #4ECF79
tetradic
#794ECF #CF4E63 #A4CF4E #4ECFB9
square
#794ECF #CF4E63 #A4CF4E #4ECFB9
split-complementary
#794ECF #CFB94E #63CF4E
monochromatic
#422380 #5B30B0 #794ECF #9D7EDC #C2AEE9

Accessibility & contrast

On white

5.52
#794ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#794ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ECF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ECF#FFFFFF#000000##FFFFFF
##794ECF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#626B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794ecf;
/* rgb */ color: rgb(121, 78, 207);
/* oklch */ color: oklch(53.9% 0.190 294.5);
Tailwind
colors: {
  custom: {
    50: '#a682de',
    500: '#794ecf',
    950: '#000000',
  },
}
SCSS
$custom: #794ecf;
$custom-light: #a682de;
$custom-dark: #000000;
JSON
{
  "hex": "#794ecf",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 260,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.18995,
    "h": 294.5
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#794ECF
secondary
#C5D7A2
accent
#E147AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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