#794BCF#794BCF

#794BCF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.194 H 295.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#794BCF
RGBrgb(121, 75, 207)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 64%, 81%)
CMYKcmyk(41.5%, 63.8%, 0%, 18.8%)
CIE-LABlab(43.66, 48.27, -61.57)
CIE-LCHlch(43.66, 78.24, 308.10°)
OKLaboklab(53.51% 0.0821 -0.1757)
OKLCHoklch(53.51% 0.194 295)
XYZxyz(21.6607, 13.6016, 60.5035)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BCF #A1CF4B
analogous
#4B5FCF #794BCF #BB4BCF
triadic
#794BCF #CF794B #4BCF79
tetradic
#794BCF #CF4B5F #A1CF4B #4BCFBB
square
#794BCF #CF4B5F #A1CF4B #4BCFBB
split-complementary
#794BCF #CFBB4B #5FCF4B
monochromatic
#42227E #5B2EAE #794BCF #9D7BDC #C1ACE9

Accessibility & contrast

On white

5.64
#794BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#794BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BCF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BCF#FFFFFF#000000##FFFFFF
##794BCF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#626986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794bcf;
/* rgb */ color: rgb(121, 75, 207);
/* oklch */ color: oklch(53.5% 0.194 295.0);
Tailwind
colors: {
  custom: {
    50: '#a680df',
    500: '#794bcf',
    950: '#000000',
  },
}
SCSS
$custom: #794bcf;
$custom-light: #a680df;
$custom-dark: #000000;
JSON
{
  "hex": "#794bcf",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 260.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.19393,
    "h": 295
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#794BCF
secondary
#C3D69F
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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