#793CBF#793CBF

#793CBF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.195 H 300.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#793CBF
RGBrgb(121, 60, 191)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(36.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(39.68, 51.86, -58.73)
CIE-LCHlch(39.68, 78.35, 311.44°)
OKLaboklab(50.28% 0.1001 -0.1673)
OKLCHoklch(50.28% 0.195 300.9)
XYZxyz(18.9027, 11.0581, 50.4187)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CBF #82BF3C
analogous
#3C41BF #793CBF #BB3CBF
triadic
#793CBF #BF793C #3CBF79
tetradic
#793CBF #BF3C41 #82BF3C #3CBFBB
square
#793CBF #BF3C41 #82BF3C #3CBFBB
split-complementary
#793CBF #BFBB3C #41BF3C
monochromatic
#3E1F62 #5B2D90 #793CBF #9968D0 #B897DE

Accessibility & contrast

On white

6.54
#793CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#793CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CBF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CBF#FFFFFF#000000##FFFFFF
##793CBF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6A5B79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793cbf;
/* rgb */ color: rgb(121, 60, 191);
/* oklch */ color: oklch(50.3% 0.195 300.9);
Tailwind
colors: {
  custom: {
    50: '#a576d3',
    500: '#793cbf',
    950: '#000000',
  },
}
SCSS
$custom: #793cbf;
$custom-light: #a576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#793cbf",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 267.939,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.19494,
    "h": 300.9
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#793CBF
secondary
#ADCA8D
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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