#793EA2#793EA2

#793EA2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.160 H 308.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#793EA2
RGBrgb(121, 62, 162)
HSLhsl(275, 45%, 44%)
HSVhsv(275, 62%, 64%)
CMYKcmyk(25.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(38.06, 43.81, -44.17)
CIE-LCHlch(38.06, 62.21, 314.77°)
OKLaboklab(48.48% 0.1002 -0.1245)
OKLCHoklch(48.48% 0.16 308.8)
XYZxyz(16.1281, 10.1191, 35.2790)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EA2 #67A23E
analogous
#473EA2 #793EA2 #A23E99
triadic
#793EA2 #A2793E #3EA279
tetradic
#793EA2 #A2473E #67A23E #3E99A2
square
#793EA2 #A2473E #67A23E #3E99A2
split-complementary
#793EA2 #99A23E #3EA247
monochromatic
#371C49 #582D76 #793EA2 #985CC1 #B489D2

Accessibility & contrast

On white

6.94
#793EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#793EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EA2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EA2#FFFFFF#000000##FFFFFF
##793EA21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#73516A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793ea2;
/* rgb */ color: rgb(121, 62, 162);
/* oklch */ color: oklch(48.5% 0.160 308.8);
Tailwind
colors: {
  custom: {
    50: '#a376be',
    500: '#793ea2',
    950: '#000000',
  },
}
SCSS
$custom: #793ea2;
$custom-light: #a376be;
$custom-dark: #000000;
JSON
{
  "hex": "#793ea2",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 275.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.15982,
    "h": 308.8
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#793EA2
secondary
#98BC80
accent
#D45388
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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