#794BEE#794BEE

#794BEE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.230 H 289.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#794BEE
RGBrgb(121, 75, 238)
HSLhsl(257, 83%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(49.2%, 68.5%, 0%, 6.7%)
CIE-LABlab(46.00, 56.62, -75.40)
CIE-LCHlch(46.00, 94.29, 306.90°)
OKLaboklab(55.93% 0.078 -0.2163)
OKLCHoklch(55.93% 0.23 289.8)
XYZxyz(25.8294, 15.2691, 82.4586)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BEE #C0EE4B
analogous
#4B6FEE #794BEE #CB4BEE
triadic
#794BEE #EE794B #4BEE79
tetradic
#794BEE #EE4B6F #C0EE4B #4BEECB
square
#794BEE #EE4B6F #C0EE4B #4BEECB
split-complementary
#794BEE #EECB4B #6FEE4B
monochromatic
#3D10AE #5116E6 #794BEE #A383F3 #CCBBF9

Accessibility & contrast

On white

5.18
#794BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#794BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BEE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BEE#FFFFFF#000000##FFFFFF
##794BEE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#517597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794bee;
/* rgb */ color: rgb(121, 75, 238);
/* oklch */ color: oklch(55.9% 0.230 289.8);
Tailwind
colors: {
  custom: {
    50: '#a981f5',
    500: '#794bee',
    950: '#000000',
  },
}
SCSS
$custom: #794bee;
$custom-light: #a981f5;
$custom-dark: #000000;
JSON
{
  "hex": "#794bee",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 256.933,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.22997,
    "h": 289.8
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#794BEE
secondary
#D8E9AC
accent
#DF06A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #794BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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