#793DC0#793DC0

#793DC0 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.195 H 300.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#793DC0
RGBrgb(121, 61, 192)
HSLhsl(267, 52%, 50%)
HSVhsv(267, 68%, 75%)
CMYKcmyk(37%, 68.2%, 0%, 24.7%)
CIE-LABlab(39.93, 51.62, -58.91)
CIE-LCHlch(39.93, 78.33, 311.23°)
OKLaboklab(50.49% 0.0989 -0.1678)
OKLCHoklch(50.49% 0.195 300.5)
XYZxyz(19.0660, 11.2081, 51.0178)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DC0 #84C03D
analogous
#3D42C0 #793DC0 #BB3DC0
triadic
#793DC0 #C0793D #3DC079
tetradic
#793DC0 #C03D42 #84C03D #3DC0BB
square
#793DC0 #C03D42 #84C03D #3DC0BB
split-complementary
#793DC0 #C0BB3D #42C03D
monochromatic
#3E1F63 #5C2E92 #793DC0 #996AD0 #B999DF

Accessibility & contrast

On white

6.48
#793DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DC0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DC0#FFFFFF#000000##FFFFFF
##793DC01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#695C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793dc0;
/* rgb */ color: rgb(121, 61, 192);
/* oklch */ color: oklch(50.5% 0.195 300.5);
Tailwind
colors: {
  custom: {
    50: '#a577d4',
    500: '#793dc0',
    950: '#000000',
  },
}
SCSS
$custom: #793dc0;
$custom-light: #a577d4;
$custom-dark: #000000;
JSON
{
  "hex": "#793dc0",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 267.481,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.19479,
    "h": 300.5
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#793DC0
secondary
#AFCA8E
accent
#DB4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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