#794BCA#794BCA

#794BCA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.188 H 296.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#794BCA
RGBrgb(121, 75, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 63%, 79%)
CMYKcmyk(40.1%, 62.9%, 0%, 20.8%)
CIE-LABlab(43.30, 46.94, -59.26)
CIE-LCHlch(43.30, 75.60, 308.38°)
OKLaboklab(53.14% 0.0825 -0.1689)
OKLCHoklch(53.14% 0.188 296)
XYZxyz(21.0591, 13.3610, 57.3351)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCA #9CCA4B
analogous
#4B5DCA #794BCA #B84BCA
triadic
#794BCA #CA794B #4BCA79
tetradic
#794BCA #CA4B5D #9CCA4B #4BCAB8
square
#794BCA #CA4B5D #9CCA4B #4BCAB8
split-complementary
#794BCA #CAB84B #5DCA4B
monochromatic
#422377 #5C31A7 #794BCA #9C7AD8 #BFAAE6

Accessibility & contrast

On white

5.72
#794BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#794BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BCA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BCA#FFFFFF#000000##FFFFFF
##794BCA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#656884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794bca;
/* rgb */ color: rgb(121, 75, 202);
/* oklch */ color: oklch(53.1% 0.188 296.0);
Tailwind
colors: {
  custom: {
    50: '#a580db',
    500: '#794bca',
    950: '#000000',
  },
}
SCSS
$custom: #794bca;
$custom-light: #a580db;
$custom-dark: #000000;
JSON
{
  "hex": "#794bca",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 261.732,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.18798,
    "h": 296
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#794BCA
secondary
#C0D39D
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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