#794FCB#794FCB

#794FCB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.184 H 295.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#794FCB
RGBrgb(121, 79, 203)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.4%, 61.1%, 0%, 20.4%)
CIE-LABlab(44.19, 45.02, -58.41)
CIE-LCHlch(44.19, 73.74, 307.63°)
OKLaboklab(53.81% 0.078 -0.1664)
OKLCHoklch(53.81% 0.184 295.1)
XYZxyz(21.4578, 13.9682, 58.0539)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FCB #A1CB4F
analogous
#4F63CB #794FCB #B74FCB
triadic
#794FCB #CB794F #4FCB79
tetradic
#794FCB #CB4F63 #A1CB4F #4FCBB7
square
#794FCB #CB4F63 #A1CB4F #4FCBB7
split-complementary
#794FCB #CBB74F #63CB4F
monochromatic
#42247B #5B32AA #794FCB #9D7ED9 #C1ADE7

Accessibility & contrast

On white

5.54
#794FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#794FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FCB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FCB#FFFFFF#000000##FFFFFF
##794FCB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0567C8
Tritanopia (blue-blind)
#646B85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794fcb;
/* rgb */ color: rgb(121, 79, 203);
/* oklch */ color: oklch(53.8% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#a582dc',
    500: '#794fcb',
    950: '#000000',
  },
}
SCSS
$custom: #794fcb;
$custom-light: #a582dc;
$custom-dark: #000000;
JSON
{
  "hex": "#794fcb",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 260.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.18375,
    "h": 295.1
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#794FCB
secondary
#C3D5A1
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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