#794DBC#794DBC

#794DBC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.168 H 298.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#794DBC
RGBrgb(121, 77, 188)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 59%, 74%)
CMYKcmyk(35.6%, 59%, 0%, 26.3%)
CIE-LABlab(42.77, 42.16, -51.99)
CIE-LCHlch(42.77, 66.93, 309.04°)
OKLaboklab(52.45% 0.0809 -0.1475)
OKLCHoklch(52.45% 0.168 298.7)
XYZxyz(19.6139, 13.0033, 49.0437)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DBC #90BC4D
analogous
#4D59BC #794DBC #B14DBC
triadic
#794DBC #BC794D #4DBC79
tetradic
#794DBC #BC4D59 #90BC4D #4DBCB1
square
#794DBC #BC4D59 #90BC4D #4DBCB1
split-complementary
#794DBC #BCB14D #59BC4D
monochromatic
#412768 #5C3894 #794DBC #9A79CD #BCA6DD

Accessibility & contrast

On white

5.83
#794DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#794DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DBC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DBC#FFFFFF#000000##FFFFFF
##794DBC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#6A647D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794dbc;
/* rgb */ color: rgb(121, 77, 188);
/* oklch */ color: oklch(52.5% 0.168 298.7);
Tailwind
colors: {
  custom: {
    50: '#a481d1',
    500: '#794dbc',
    950: '#000000',
  },
}
SCSS
$custom: #794dbc;
$custom-light: #a481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#794dbc",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 263.784,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.16822,
    "h": 298.7
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#794DBC
secondary
#B7CB9A
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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