#793BB3#793BB3

#793BB3 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.183 H 304.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#793BB3
RGBrgb(121, 59, 179)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 70%)
CMYKcmyk(32.4%, 67%, 0%, 29.8%)
CIE-LABlab(38.63, 49.41, -53.36)
CIE-LCHlch(38.63, 72.73, 312.80°)
OKLaboklab(49.26% 0.1027 -0.1515)
OKLCHoklch(49.26% 0.183 304.1)
XYZxyz(17.5840, 10.4476, 43.7293)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BB3 #75B33B
analogous
#3D3BB3 #793BB3 #B33BB1
triadic
#793BB3 #B3793B #3BB379
tetradic
#793BB3 #B33D3B #75B33B #3BB1B3
square
#793BB3 #B33D3B #75B33B #3BB1B3
split-complementary
#793BB3 #B1B33B #3BB33D
monochromatic
#3B1D57 #5A2C85 #793BB3 #9760CB #B58EDA

Accessibility & contrast

On white

6.80
#793BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#793BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BB3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BB3#FFFFFF#000000##FFFFFF
##793BB31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#6E5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793bb3;
/* rgb */ color: rgb(121, 59, 179);
/* oklch */ color: oklch(49.3% 0.183 304.1);
Tailwind
colors: {
  custom: {
    50: '#a475ca',
    500: '#793bb3',
    950: '#000000',
  },
}
SCSS
$custom: #793bb3;
$custom-light: #a475ca;
$custom-dark: #000000;
JSON
{
  "hex": "#793bb3",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 271,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.18303,
    "h": 304.1
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#793BB3
secondary
#A4C585
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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