#794BED#794BED

#794BED is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.229 H 290.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#794BED
RGBrgb(121, 75, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.9%, 68.4%, 0%, 7.1%)
CIE-LABlab(45.92, 56.35, -74.97)
CIE-LCHlch(45.92, 93.78, 306.93°)
OKLaboklab(55.85% 0.0781 -0.2151)
OKLCHoklch(55.85% 0.229 290)
XYZxyz(25.6829, 15.2105, 81.6870)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BED #BFED4B
analogous
#4B6EED #794BED #CA4BED
triadic
#794BED #ED794B #4BED79
tetradic
#794BED #ED4B6E #BFED4B #4BEDCA
square
#794BED #ED4B6E #BFED4B #4BEDCA
split-complementary
#794BED #EDCA4B #6EED4B
monochromatic
#3D11AC #5117E4 #794BED #A283F3 #CCBAF8

Accessibility & contrast

On white

5.19
#794BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#794BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BED#FFFFFF#000000##FFFFFF
##794BED1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#517496
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794bed;
/* rgb */ color: rgb(121, 75, 237);
/* oklch */ color: oklch(55.8% 0.229 290.0);
Tailwind
colors: {
  custom: {
    50: '#a981f4',
    500: '#794bed',
    950: '#000000',
  },
}
SCSS
$custom: #794bed;
$custom-light: #a981f4;
$custom-dark: #000000;
JSON
{
  "hex": "#794bed",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 257.037,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.22882,
    "h": 290
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#794BED
secondary
#D7E8AB
accent
#DE07A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BED

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

Preview Lab → · Contrast checker → · Palette generator →

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