#793ED2#793ED2

#793ED2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.213 H 296.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#793ED2
RGBrgb(121, 62, 210)
HSLhsl(264, 62%, 53%)
HSVhsv(264, 70%, 82%)
CMYKcmyk(42.4%, 70.5%, 0%, 17.6%)
CIE-LABlab(41.47, 55.67, -66.85)
CIE-LCHlch(41.47, 86.99, 309.79°)
OKLaboklab(52.02% 0.0949 -0.1912)
OKLCHoklch(52.02% 0.213 296.4)
XYZxyz(21.2376, 12.1629, 62.1890)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ED2 #97D23E
analogous
#3E4DD2 #793ED2 #C33ED2
triadic
#793ED2 #D2793E #3ED279
tetradic
#793ED2 #D23E4D #97D23E #3ED2C3
square
#793ED2 #D23E4D #97D23E #3ED2C3
split-complementary
#793ED2 #D2C33E #4DD23E
monochromatic
#411C79 #5C28AB #793ED2 #9B70DE #BEA1E9

Accessibility & contrast

On white

6.12
#793ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#793ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ED2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ED2#FFFFFF#000000##FFFFFF
##793ED21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#626384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #793ed2;
/* rgb */ color: rgb(121, 62, 210);
/* oklch */ color: oklch(52.0% 0.213 296.4);
Tailwind
colors: {
  custom: {
    50: '#a778e1',
    500: '#793ed2',
    950: '#000000',
  },
}
SCSS
$custom: #793ed2;
$custom-light: #a778e1;
$custom-dark: #000000;
JSON
{
  "hex": "#793ed2",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 263.919,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.21342,
    "h": 296.4
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#793ED2
secondary
#BCD696
accent
#E543A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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