#793ED3#793ED3

#793ED3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.215 H 296.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#793ED3
RGBrgb(121, 62, 211)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 71%, 83%)
CMYKcmyk(42.7%, 70.6%, 0%, 17.3%)
CIE-LABlab(41.55, 55.93, -67.29)
CIE-LCHlch(41.55, 87.50, 309.73°)
OKLaboklab(52.1% 0.0947 -0.1925)
OKLCHoklch(52.1% 0.215 296.2)
XYZxyz(21.3625, 12.2129, 62.8472)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ED3 #98D33E
analogous
#3E4DD3 #793ED3 #C33ED3
triadic
#793ED3 #D3793E #3ED379
tetradic
#793ED3 #D33E4D #98D33E #3ED3C3
square
#793ED3 #D33E4D #98D33E #3ED3C3
split-complementary
#793ED3 #D3C33E #4DD33E
monochromatic
#411C7B #5C27AC #793ED3 #9C70DE #BEA2EA

Accessibility & contrast

On white

6.10
#793ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#793ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ED3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ED3#FFFFFF#000000##FFFFFF
##793ED31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#616384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #793ed3;
/* rgb */ color: rgb(121, 62, 211);
/* oklch */ color: oklch(52.1% 0.215 296.2);
Tailwind
colors: {
  custom: {
    50: '#a778e2',
    500: '#793ed3',
    950: '#000000',
  },
}
SCSS
$custom: #793ed3;
$custom-light: #a778e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793ed3",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 263.758,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.21452,
    "h": 296.2
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#793ED3
secondary
#BDD696
accent
#E642A5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #793ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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