#793CB3#793CB3

#793CB3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.182 H 304.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#793CB3
RGBrgb(121, 60, 179)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 66%, 70%)
CMYKcmyk(32.4%, 66.5%, 0%, 29.8%)
CIE-LABlab(38.81, 48.91, -53.07)
CIE-LCHlch(38.81, 72.17, 312.67°)
OKLaboklab(49.39% 0.1016 -0.1507)
OKLCHoklch(49.39% 0.182 304)
XYZxyz(17.6359, 10.5514, 43.7466)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB3 #76B33C
analogous
#3D3CB3 #793CB3 #B33CB2
triadic
#793CB3 #B3793C #3CB379
tetradic
#793CB3 #B33D3C #76B33C #3CB2B3
square
#793CB3 #B33D3C #76B33C #3CB2B3
split-complementary
#793CB3 #B2B33C #3CB33D
monochromatic
#3B1D57 #5A2D85 #793CB3 #9762CA #B690DA

Accessibility & contrast

On white

6.75
#793CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#793CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB3#FFFFFF#000000##FFFFFF
##793CB31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#6E5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793cb3;
/* rgb */ color: rgb(121, 60, 179);
/* oklch */ color: oklch(49.4% 0.182 304.0);
Tailwind
colors: {
  custom: {
    50: '#a476ca',
    500: '#793cb3',
    950: '#000000',
  },
}
SCSS
$custom: #793cb3;
$custom-light: #a476ca;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb3",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 270.756,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.18169,
    "h": 304
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#793CB3
secondary
#A5C586
accent
#D94E92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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