#793FCD#793FCD

#793FCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.207 H 297.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#793FCD
RGBrgb(121, 63, 205)
HSLhsl(265, 59%, 53%)
HSVhsv(265, 69%, 80%)
CMYKcmyk(41%, 69.3%, 0%, 19.6%)
CIE-LABlab(41.26, 53.92, -64.31)
CIE-LCHlch(41.26, 83.92, 309.98°)
OKLaboklab(51.74% 0.0948 -0.1837)
OKLCHoklch(51.74% 0.207 297.3)
XYZxyz(20.6793, 12.0274, 58.9778)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FCD #93CD3F
analogous
#3F4CCD #793FCD #C03FCD
triadic
#793FCD #CD793F #3FCD79
tetradic
#793FCD #CD3F4C #93CD3F #3FCDC0
square
#793FCD #CD3F4C #93CD3F #3FCDC0
split-complementary
#793FCD #CDC03F #4CCD3F
monochromatic
#411E74 #5C2BA4 #793FCD #9B70DA #BDA0E6

Accessibility & contrast

On white

6.17
#793FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#793FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FCD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FCD#FFFFFF#000000##FFFFFF
##793FCD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#646281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793fcd;
/* rgb */ color: rgb(121, 63, 205);
/* oklch */ color: oklch(51.7% 0.207 297.3);
Tailwind
colors: {
  custom: {
    50: '#a678dd',
    500: '#793fcd',
    950: '#000000',
  },
}
SCSS
$custom: #793fcd;
$custom-light: #a678dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793fcd",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 264.507,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.20674,
    "h": 297.3
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#793FCD
secondary
#BAD395
accent
#E246A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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