#793BD1#793BD1

#793BD1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.216 H 297.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#793BD1
RGBrgb(121, 59, 209)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 72%, 82%)
CMYKcmyk(42.1%, 71.8%, 0%, 18%)
CIE-LABlab(40.89, 56.84, -67.22)
CIE-LCHlch(40.89, 88.03, 310.22°)
OKLaboklab(51.58% 0.0979 -0.1922)
OKLCHoklch(51.58% 0.216 297)
XYZxyz(20.9547, 11.7959, 61.4820)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BD1 #93D13B
analogous
#3B48D1 #793BD1 #C43BD1
triadic
#793BD1 #D1793B #3BD179
tetradic
#793BD1 #D13B48 #93D13B #3BD1C4
square
#793BD1 #D13B48 #93D13B #3BD1C4
split-complementary
#793BD1 #D1C43B #48D13B
monochromatic
#411C76 #5C27A7 #793BD1 #9B6DDD #BD9EE8

Accessibility & contrast

On white

6.25
#793BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#793BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BD1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BD1#FFFFFF#000000##FFFFFF
##793BD11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#626182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793bd1;
/* rgb */ color: rgb(121, 59, 209);
/* oklch */ color: oklch(51.6% 0.216 297.0);
Tailwind
colors: {
  custom: {
    50: '#a776e0',
    500: '#793bd1',
    950: '#000000',
  },
}
SCSS
$custom: #793bd1;
$custom-light: #a776e0;
$custom-dark: #000000;
JSON
{
  "hex": "#793bd1",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 264.8,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.21574,
    "h": 297
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#793BD1
secondary
#BAD493
accent
#E543A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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