#794CBF#794CBF

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

Color values

HEX#794CBF
RGBrgb(121, 76, 191)
HSLhsl(263, 47%, 52%)
HSVhsv(263, 60%, 75%)
CMYKcmyk(36.6%, 60.2%, 0%, 25.1%)
CIE-LABlab(42.76, 43.50, -53.76)
CIE-LCHlch(42.76, 69.15, 308.98°)
OKLaboklab(52.51% 0.082 -0.1527)
OKLCHoklch(52.51% 0.173 298.2)
XYZxyz(19.8712, 12.9952, 50.7415)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CBF #92BF4C
analogous
#4C59BF #794CBF #B24CBF
triadic
#794CBF #BF794C #4CBF79
tetradic
#794CBF #BF4C59 #92BF4C #4CBFB2
square
#794CBF #BF4C59 #92BF4C #4CBFB2
split-complementary
#794CBF #BFB24C #59BF4C
monochromatic
#41266B #5C3698 #794CBF #9B79CF #BCA6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794CBF#FFFFFF#000000##FFFFFF
##794CBF1.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)
#0065C3
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#69657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794cbf;
/* rgb */ color: rgb(121, 76, 191);
/* oklch */ color: oklch(52.5% 0.173 298.2);
Tailwind
colors: {
  custom: {
    50: '#a480d3',
    500: '#794cbf',
    950: '#000000',
  },
}
SCSS
$custom: #794cbf;
$custom-light: #a480d3;
$custom-dark: #000000;
JSON
{
  "hex": "#794cbf",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 263.478,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.17335,
    "h": 298.2
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#794CBF
secondary
#B9CC9A
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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