#794FCF#794FCF

#794FCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.189 H 294.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#794FCF
RGBrgb(121, 79, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 62%, 81%)
CMYKcmyk(41.5%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.46, 46.10, -60.26)
CIE-LCHlch(44.46, 75.87, 307.42°)
OKLaboklab(54.1% 0.0777 -0.1718)
OKLCHoklch(54.1% 0.189 294.3)
XYZxyz(21.9406, 14.1614, 60.5968)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FCF #A5CF4F
analogous
#4F65CF #794FCF #B94FCF
triadic
#794FCF #CF794F #4FCF79
tetradic
#794FCF #CF4F65 #A5CF4F #4FCFB9
square
#794FCF #CF4F65 #A5CF4F #4FCFB9
split-complementary
#794FCF #CFB94F #65CF4F
monochromatic
#422381 #5A30B1 #794FCF #9E7FDC #C2AFE9

Accessibility & contrast

On white

5.48
#794FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#794FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FCF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FCF#FFFFFF#000000##FFFFFF
##794FCF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#626C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #794fcf;
/* rgb */ color: rgb(121, 79, 207);
/* oklch */ color: oklch(54.1% 0.189 294.3);
Tailwind
colors: {
  custom: {
    50: '#a682de',
    500: '#794fcf',
    950: '#000000',
  },
}
SCSS
$custom: #794fcf;
$custom-light: #a682de;
$custom-dark: #000000;
JSON
{
  "hex": "#794fcf",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 259.688,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.1886,
    "h": 294.3
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#794FCF
secondary
#C6D7A2
accent
#E047AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #794FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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