#793BCA#793BCA

#793BCA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.208 H 298.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#793BCA
RGBrgb(121, 59, 202)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(40.1%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.34, 55.08, -64.07)
CIE-LCHlch(40.34, 84.49, 310.69°)
OKLaboklab(51.02% 0.0993 -0.183)
OKLCHoklch(51.02% 0.208 298.5)
XYZxyz(20.1071, 11.4569, 57.0177)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BCA #8CCA3B
analogous
#3B44CA #793BCA #C03BCA
triadic
#793BCA #CA793B #3BCA79
tetradic
#793BCA #CA3B44 #8CCA3B #3BCAC0
square
#793BCA #CA3B44 #8CCA3B #3BCAC0
split-complementary
#793BCA #CAC03B #44CA3B
monochromatic
#401E6D #5C2B9D #793BCA #9A6BD7 #BB9BE4

Accessibility & contrast

On white

6.38
#793BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#793BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BCA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BCA#FFFFFF#000000##FFFFFF
##793BCA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#655E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793bca;
/* rgb */ color: rgb(121, 59, 202);
/* oklch */ color: oklch(51.0% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#a676db',
    500: '#793bca',
    950: '#000000',
  },
}
SCSS
$custom: #793bca;
$custom-light: #a676db;
$custom-dark: #000000;
JSON
{
  "hex": "#793bca",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 266.014,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.20817,
    "h": 298.5
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#793BCA
secondary
#B5D091
accent
#E1479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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