#793ACD#793ACD

#793ACD is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.213 H 298.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#793ACD
RGBrgb(121, 58, 205)
HSLhsl(266, 60%, 52%)
HSVhsv(266, 72%, 80%)
CMYKcmyk(41%, 71.7%, 0%, 19.6%)
CIE-LABlab(40.41, 56.30, -65.70)
CIE-LCHlch(40.41, 86.52, 310.60°)
OKLaboklab(51.14% 0.0996 -0.1878)
OKLCHoklch(51.14% 0.213 298)
XYZxyz(20.4148, 11.4985, 58.8896)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ACD #8ECD3A
analogous
#3A45CD #793ACD #C23ACD
triadic
#793ACD #CD793A #3ACD79
tetradic
#793ACD #CD3A45 #8ECD3A #3ACDC2
square
#793ACD #CD3A45 #8ECD3A #3ACDC2
split-complementary
#793ACD #CDC23A #45CD3A
monochromatic
#401C70 #5C29A1 #793ACD #9A6BD9 #BB9CE6

Accessibility & contrast

On white

6.36
#793ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#793ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ACD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ACD#FFFFFF#000000##FFFFFF
##793ACD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#645F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793acd;
/* rgb */ color: rgb(121, 58, 205);
/* oklch */ color: oklch(51.1% 0.213 298.0);
Tailwind
colors: {
  custom: {
    50: '#a776dd',
    500: '#793acd',
    950: '#000000',
  },
}
SCSS
$custom: #793acd;
$custom-light: #a776dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793acd",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.21256,
    "h": 298
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#793ACD
secondary
#B6D291
accent
#E3459F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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