#793CDC#793CDC

#793CDC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.226 H 294.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#793CDC
RGBrgb(121, 60, 220)
HSLhsl(263, 70%, 55%)
HSVhsv(263, 73%, 86%)
CMYKcmyk(45%, 72.7%, 0%, 13.7%)
CIE-LABlab(41.94, 59.16, -71.82)
CIE-LCHlch(41.94, 93.05, 309.48°)
OKLaboklab(52.6% 0.0947 -0.2058)
OKLCHoklch(52.6% 0.226 294.7)
XYZxyz(22.4158, 12.4634, 68.9209)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CDC #9FDC3C
analogous
#3C4FDC #793CDC #C93CDC
triadic
#793CDC #DC793C #3CDC79
tetradic
#793CDC #DC3C4F #9FDC3C #3CDCC9
square
#793CDC #DC3C4F #9FDC3C #3CDCC9
split-complementary
#793CDC #DCC93C #4FDC3C
monochromatic
#421886 #5B21BA #793CDC #9D70E5 #C0A4EF

Accessibility & contrast

On white

6.01
#793CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#793CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CDC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CDC#FFFFFF#000000##FFFFFF
##793CDC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#5D6689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #793cdc;
/* rgb */ color: rgb(121, 60, 220);
/* oklch */ color: oklch(52.6% 0.226 294.7);
Tailwind
colors: {
  custom: {
    50: '#a877e8',
    500: '#793cdc',
    950: '#000000',
  },
}
SCSS
$custom: #793cdc;
$custom-light: #a877e8;
$custom-dark: #000000;
JSON
{
  "hex": "#793cdc",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 262.875,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.22649,
    "h": 294.7
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#793CDC
secondary
#C2DC98
accent
#EC3BA9
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #793CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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