#793ED5#793ED5

#793ED5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.217 H 295.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#793ED5
RGBrgb(121, 62, 213)
HSLhsl(263, 64%, 54%)
HSVhsv(263, 71%, 84%)
CMYKcmyk(43.2%, 70.9%, 0%, 16.5%)
CIE-LABlab(41.71, 56.44, -68.19)
CIE-LCHlch(41.71, 88.52, 309.62°)
OKLaboklab(52.26% 0.0943 -0.1951)
OKLCHoklch(52.26% 0.217 295.8)
XYZxyz(21.6148, 12.3138, 64.1759)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ED5 #9AD53E
analogous
#3E4FD5 #793ED5 #C53ED5
triadic
#793ED5 #D5793E #3ED579
tetradic
#793ED5 #D53E4F #9AD53E #3ED5C5
square
#793ED5 #D53E4F #9AD53E #3ED5C5
split-complementary
#793ED5 #D5C53E #4FD53E
monochromatic
#421B7D #5C26B0 #793ED5 #9C70E0 #BFA3EB

Accessibility & contrast

On white

6.06
#793ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#793ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ED5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ED5#FFFFFF#000000##FFFFFF
##793ED51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#606485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #793ed5;
/* rgb */ color: rgb(121, 62, 213);
/* oklch */ color: oklch(52.3% 0.217 295.8);
Tailwind
colors: {
  custom: {
    50: '#a778e3',
    500: '#793ed5',
    950: '#000000',
  },
}
SCSS
$custom: #793ed5;
$custom-light: #a778e3;
$custom-dark: #000000;
JSON
{
  "hex": "#793ed5",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 263.444,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.21671,
    "h": 295.8
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#793ED5
secondary
#BED897
accent
#E741A6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #793ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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