#794FDB#794FDB

#794FDB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.203 H 292.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#794FDB
RGBrgb(121, 79, 219)
HSLhsl(258, 66%, 58%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(44.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(45.32, 49.35, -65.75)
CIE-LCHlch(45.32, 82.21, 306.89°)
OKLaboklab(54.99% 0.0767 -0.188)
OKLCHoklch(54.99% 0.203 292.2)
XYZxyz(23.4638, 14.7706, 68.6188)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDB #B1DB4F
analogous
#4F6BDB #794FDB #BF4FDB
triadic
#794FDB #DB794F #4FDB79
tetradic
#794FDB #DB4F6B #B1DB4F #4FDBBF
square
#794FDB #DB4F6B #B1DB4F #4FDBBF
split-complementary
#794FDB #DBBF4F #6BDB4F
monochromatic
#411E92 #5728C5 #794FDB #A082E5 #C6B5F0

Accessibility & contrast

On white

5.31
#794FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#794FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDB#FFFFFF#000000##FFFFFF
##794FDB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#5C708E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794fdb;
/* rgb */ color: rgb(121, 79, 219);
/* oklch */ color: oklch(55.0% 0.203 292.2);
Tailwind
colors: {
  custom: {
    50: '#a783e7',
    500: '#794fdb',
    950: '#000000',
  },
}
SCSS
$custom: #794fdb;
$custom-light: #a783e7;
$custom-dark: #000000;
JSON
{
  "hex": "#794fdb",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 258,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.20304,
    "h": 292.2
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#794FDB
secondary
#CEDFA7
accent
#E93FB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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