#793BCD#793BCD

#793BCD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.211 H 297.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#793BCD
RGBrgb(121, 59, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(41%, 71.2%, 0%, 19.6%)
CIE-LABlab(40.57, 55.83, -65.43)
CIE-LCHlch(40.57, 86.01, 310.48°)
OKLaboklab(51.26% 0.0987 -0.187)
OKLCHoklch(51.26% 0.211 297.8)
XYZxyz(20.4657, 11.6003, 58.9066)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BCD #8FCD3B
analogous
#3B46CD #793BCD #C23BCD
triadic
#793BCD #CD793B #3BCD79
tetradic
#793BCD #CD3B46 #8FCD3B #3BCDC2
square
#793BCD #CD3B46 #8FCD3B #3BCDC2
split-complementary
#793BCD #CDC23B #46CD3B
monochromatic
#401D71 #5C29A2 #793BCD #9A6CD9 #BC9DE6

Accessibility & contrast

On white

6.32
#793BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#793BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BCD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BCD#FFFFFF#000000##FFFFFF
##793BCD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.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: #793bcd;
/* rgb */ color: rgb(121, 59, 205);
/* oklch */ color: oklch(51.3% 0.211 297.8);
Tailwind
colors: {
  custom: {
    50: '#a776dd',
    500: '#793bcd',
    950: '#000000',
  },
}
SCSS
$custom: #793bcd;
$custom-light: #a776dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793bcd",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 265.479,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.21142,
    "h": 297.8
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#793BCD
secondary
#B7D292
accent
#E345A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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