#794FCA#794FCA

#794FCA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.183 H 295.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#794FCA
RGBrgb(121, 79, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 79%)
CMYKcmyk(40.1%, 60.9%, 0%, 20.8%)
CIE-LABlab(44.12, 44.76, -57.94)
CIE-LCHlch(44.12, 73.21, 307.69°)
OKLaboklab(53.74% 0.078 -0.165)
OKLCHoklch(53.74% 0.183 295.3)
XYZxyz(21.3390, 13.9207, 57.4283)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FCA #A0CA4F
analogous
#4F62CA #794FCA #B74FCA
triadic
#794FCA #CA794F #4FCA79
tetradic
#794FCA #CA4F62 #A0CA4F #4FCAB7
square
#794FCA #CA4F62 #A0CA4F #4FCAB7
split-complementary
#794FCA #CAB74F #62CA4F
monochromatic
#42257A #5B33A9 #794FCA #9D7ED8 #C1ADE6

Accessibility & contrast

On white

5.55
#794FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#794FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FCA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FCA#FFFFFF#000000##FFFFFF
##794FCA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0966C7
Tritanopia (blue-blind)
#646A85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794fca;
/* rgb */ color: rgb(121, 79, 202);
/* oklch */ color: oklch(53.7% 0.183 295.3);
Tailwind
colors: {
  custom: {
    50: '#a582db',
    500: '#794fca',
    950: '#000000',
  },
}
SCSS
$custom: #794fca;
$custom-light: #a582db;
$custom-dark: #000000;
JSON
{
  "hex": "#794fca",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 260.488,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.18252,
    "h": 295.3
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#794FCA
secondary
#C3D4A1
accent
#DD4BAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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