#794BC4#794BC4

#794BC4 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.181 H 297.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#794BC4
RGBrgb(121, 75, 196)
HSLhsl(263, 51%, 53%)
HSVhsv(263, 62%, 77%)
CMYKcmyk(38.3%, 61.7%, 0%, 23.1%)
CIE-LABlab(42.89, 45.36, -56.45)
CIE-LCHlch(42.89, 72.42, 308.78°)
OKLaboklab(52.71% 0.083 -0.1606)
OKLCHoklch(52.71% 0.181 297.3)
XYZxyz(20.3625, 13.0823, 53.6662)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BC4 #96C44B
analogous
#4B59C4 #794BC4 #B64BC4
triadic
#794BC4 #C4794B #4BC479
tetradic
#794BC4 #C44B59 #96C44B #4BC4B6
square
#794BC4 #C44B59 #96C44B #4BC4B6
split-complementary
#794BC4 #C4B64B #59C44B
monochromatic
#412570 #5C349E #794BC4 #9B79D3 #BEA7E2

Accessibility & contrast

On white

5.81
#794BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#794BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BC4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BC4#FFFFFF#000000##FFFFFF
##794BC41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0F64C1
Tritanopia (blue-blind)
#676680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794bc4;
/* rgb */ color: rgb(121, 75, 196);
/* oklch */ color: oklch(52.7% 0.181 297.3);
Tailwind
colors: {
  custom: {
    50: '#a57fd7',
    500: '#794bc4',
    950: '#000000',
  },
}
SCSS
$custom: #794bc4;
$custom-light: #a57fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#794bc4",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 262.81,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.18079,
    "h": 297.3
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#794BC4
secondary
#BCCF9B
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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