#794BDB#794BDB

#794BDB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.208 H 292.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#794BDB
RGBrgb(121, 75, 219)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 66%, 86%)
CMYKcmyk(44.7%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.53, 51.48, -67.02)
CIE-LCHlch(44.53, 84.52, 307.53°)
OKLaboklab(54.42% 0.0808 -0.1917)
OKLCHoklch(54.42% 0.208 292.8)
XYZxyz(23.1839, 14.2109, 68.5255)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BDB #ADDB4B
analogous
#4B65DB #794BDB #C14BDB
triadic
#794BDB #DB794B #4BDB79
tetradic
#794BDB #DB4B65 #ADDB4B #4BDBC1
square
#794BDB #DB4B65 #ADDB4B #4BDBC1
split-complementary
#794BDB #DBC14B #65DB4B
monochromatic
#411D8F #5827C2 #794BDB #9F7EE5 #C5B1EF

Accessibility & contrast

On white

5.47
#794BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#794BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BDB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BDB#FFFFFF#000000##FFFFFF
##794BDB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#5C6E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794bdb;
/* rgb */ color: rgb(121, 75, 219);
/* oklch */ color: oklch(54.4% 0.208 292.8);
Tailwind
colors: {
  custom: {
    50: '#a780e7',
    500: '#794bdb',
    950: '#000000',
  },
}
SCSS
$custom: #794bdb;
$custom-light: #a780e7;
$custom-dark: #000000;
JSON
{
  "hex": "#794bdb",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 259.167,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.20806,
    "h": 292.8
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#794BDB
secondary
#CBDEA4
accent
#EA3EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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