#793CB7#793CB7

#793CB7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.186 H 302.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#793CB7
RGBrgb(121, 60, 183)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(33.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(39.10, 49.89, -54.98)
CIE-LCHlch(39.10, 74.24, 312.22°)
OKLaboklab(49.68% 0.1011 -0.1562)
OKLCHoklch(49.68% 0.186 302.9)
XYZxyz(18.0463, 10.7156, 45.9081)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB7 #7AB73C
analogous
#3C3DB7 #793CB7 #B63CB7
triadic
#793CB7 #B7793C #3CB779
tetradic
#793CB7 #B73C3D #7AB73C #3CB7B6
square
#793CB7 #B73C3D #7AB73C #3CB7B6
split-complementary
#793CB7 #B7B63C #3DB73C
monochromatic
#3C1E5B #5B2D89 #793CB7 #9864CC #B692DB

Accessibility & contrast

On white

6.68
#793CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#793CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB7#FFFFFF#000000##FFFFFF
##793CB71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#6D5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793cb7;
/* rgb */ color: rgb(121, 60, 183);
/* oklch */ color: oklch(49.7% 0.186 302.9);
Tailwind
colors: {
  custom: {
    50: '#a476cd',
    500: '#793cb7',
    950: '#000000',
  },
}
SCSS
$custom: #793cb7;
$custom-light: #a476cd;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb7",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 269.756,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.18612,
    "h": 302.9
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#793CB7
secondary
#A8C688
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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