#794FBC#794FBC

#794FBC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.165 H 298.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#794FBC
RGBrgb(121, 79, 188)
HSLhsl(263, 45%, 52%)
HSVhsv(263, 58%, 74%)
CMYKcmyk(35.6%, 58%, 0%, 26.3%)
CIE-LABlab(43.19, 41.04, -51.30)
CIE-LCHlch(43.19, 65.70, 308.66°)
OKLaboklab(52.76% 0.0784 -0.1455)
OKLCHoklch(52.76% 0.165 298.3)
XYZxyz(19.7560, 13.2875, 49.0911)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FBC #92BC4F
analogous
#4F5CBC #794FBC #AF4FBC
triadic
#794FBC #BC794F #4FBC79
tetradic
#794FBC #BC4F5C #92BC4F #4FBCAF
square
#794FBC #BC4F5C #92BC4F #4FBCAF
split-complementary
#794FBC #BCAF4F #5CBC4F
monochromatic
#412869 #5C3995 #794FBC #9B7BCD #BCA8DE

Accessibility & contrast

On white

5.74
#794FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#794FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FBC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FBC#FFFFFF#000000##FFFFFF
##794FBC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#6A667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fbc;
/* rgb */ color: rgb(121, 79, 188);
/* oklch */ color: oklch(52.8% 0.165 298.3);
Tailwind
colors: {
  custom: {
    50: '#a482d1',
    500: '#794fbc',
    950: '#000000',
  },
}
SCSS
$custom: #794fbc;
$custom-light: #a482d1;
$custom-dark: #000000;
JSON
{
  "hex": "#794fbc",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 263.119,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.16529,
    "h": 298.3
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#794FBC
secondary
#B9CB9C
accent
#D553A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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