#793CCD#793CCD

#793CCD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.210 H 297.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#793CCD
RGBrgb(121, 60, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(41%, 70.7%, 0%, 19.6%)
CIE-LABlab(40.74, 55.36, -65.15)
CIE-LCHlch(40.74, 85.50, 310.36°)
OKLaboklab(51.37% 0.0978 -0.1862)
OKLCHoklch(51.37% 0.21 297.7)
XYZxyz(20.5176, 11.7041, 58.9239)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CCD #90CD3C
analogous
#3C48CD #793CCD #C13CCD
triadic
#793CCD #CD793C #3CCD79
tetradic
#793CCD #CD3C48 #90CD3C #3CCDC1
square
#793CCD #CD3C48 #90CD3C #3CCDC1
split-complementary
#793CCD #CDC13C #48CD3C
monochromatic
#411D71 #5C2AA2 #793CCD #9A6DD9 #BC9DE6

Accessibility & contrast

On white

6.29
#793CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#793CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CCD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CCD#FFFFFF#000000##FFFFFF
##793CCD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#646080
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793ccd;
/* rgb */ color: rgb(121, 60, 205);
/* oklch */ color: oklch(51.4% 0.210 297.7);
Tailwind
colors: {
  custom: {
    50: '#a677dd',
    500: '#793ccd',
    950: '#000000',
  },
}
SCSS
$custom: #793ccd;
$custom-light: #a677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793ccd",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 265.241,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.21027,
    "h": 297.7
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#793CCD
secondary
#B7D293
accent
#E245A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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