#793DBE#793DBE

#793DBE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.193 H 301.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#793DBE
RGBrgb(121, 61, 190)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(36.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(39.78, 51.12, -57.98)
CIE-LCHlch(39.78, 77.30, 311.40°)
OKLaboklab(50.33% 0.0992 -0.1651)
OKLCHoklch(50.33% 0.193 301)
XYZxyz(18.8459, 11.1200, 49.8587)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DBE #82BE3D
analogous
#3D42BE #793DBE #BA3DBE
triadic
#793DBE #BE793D #3DBE79
tetradic
#793DBE #BE3D42 #82BE3D #3DBEBA
square
#793DBE #BE3D42 #82BE3D #3DBEBA
split-complementary
#793DBE #BEBA3D #42BE3D
monochromatic
#3E1F61 #5B2E90 #793DBE #9969CF #B898DE

Accessibility & contrast

On white

6.51
#793DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#793DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DBE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DBE#FFFFFF#000000##FFFFFF
##793DBE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6A5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793dbe;
/* rgb */ color: rgb(121, 61, 190);
/* oklch */ color: oklch(50.3% 0.193 301.0);
Tailwind
colors: {
  custom: {
    50: '#a577d2',
    500: '#793dbe',
    950: '#000000',
  },
}
SCSS
$custom: #793dbe;
$custom-light: #a577d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793dbe",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 267.907,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.19258,
    "h": 301
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#793DBE
secondary
#ADC98D
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793DBE

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

Preview Lab → · Contrast checker → · Palette generator →

#793DBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva