#794BC3#794BC3

#794BC3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.180 H 297.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#794BC3
RGBrgb(121, 75, 195)
HSLhsl(263, 50%, 53%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(37.9%, 61.5%, 0%, 23.5%)
CIE-LABlab(42.82, 45.10, -55.98)
CIE-LCHlch(42.82, 71.89, 308.85°)
OKLaboklab(52.64% 0.083 -0.1593)
OKLCHoklch(52.64% 0.18 297.5)
XYZxyz(20.2491, 13.0369, 53.0687)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BC3 #95C34B
analogous
#4B59C3 #794BC3 #B54BC3
triadic
#794BC3 #C3794B #4BC379
tetradic
#794BC3 #C34B59 #95C34B #4BC3B5
square
#794BC3 #C34B59 #95C34B #4BC3B5
split-complementary
#794BC3 #C3B54B #59C34B
monochromatic
#41256F #5C349D #794BC3 #9B79D2 #BDA7E2

Accessibility & contrast

On white

5.82
#794BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#794BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BC3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BC3#FFFFFF#000000##FFFFFF
##794BC31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#1364C0
Tritanopia (blue-blind)
#686580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794bc3;
/* rgb */ color: rgb(121, 75, 195);
/* oklch */ color: oklch(52.6% 0.180 297.5);
Tailwind
colors: {
  custom: {
    50: '#a57fd6',
    500: '#794bc3',
    950: '#000000',
  },
}
SCSS
$custom: #794bc3;
$custom-light: #a57fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#794bc3",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 263,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.1796,
    "h": 297.5
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#794BC3
secondary
#BBCF9B
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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