#794CDB#794CDB

#794CDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.207 H 292.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#794CDB
RGBrgb(121, 76, 219)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(44.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.73, 50.96, -66.71)
CIE-LCHlch(44.73, 83.95, 307.37°)
OKLaboklab(54.56% 0.0798 -0.1908)
OKLCHoklch(54.56% 0.207 292.7)
XYZxyz(23.2523, 14.3476, 68.5483)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CDB #AEDB4C
analogous
#4C66DB #794CDB #C04CDB
triadic
#794CDB #DB794C #4CDB79
tetradic
#794CDB #DB4C66 #AEDB4C #4CDBC0
square
#794CDB #DB4C66 #AEDB4C #4CDBC0
split-complementary
#794CDB #DBC04C #66DB4C
monochromatic
#411D90 #5827C3 #794CDB #9F7FE5 #C5B2EF

Accessibility & contrast

On white

5.43
#794CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#794CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CDB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CDB#FFFFFF#000000##FFFFFF
##794CDB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#5C6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794cdb;
/* rgb */ color: rgb(121, 76, 219);
/* oklch */ color: oklch(54.6% 0.207 292.7);
Tailwind
colors: {
  custom: {
    50: '#a781e7',
    500: '#794cdb',
    950: '#000000',
  },
}
SCSS
$custom: #794cdb;
$custom-light: #a781e7;
$custom-dark: #000000;
JSON
{
  "hex": "#794cdb",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 258.881,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.20682,
    "h": 292.7
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#794CDB
secondary
#CCDEA5
accent
#E93EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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