#793BBD#793BBD

#793BBD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.194 H 301.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#793BBD
RGBrgb(121, 59, 189)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 69%, 74%)
CMYKcmyk(36%, 68.8%, 0%, 25.9%)
CIE-LABlab(39.36, 51.85, -58.08)
CIE-LCHlch(39.36, 77.86, 311.76°)
OKLaboklab(50.01% 0.1014 -0.1654)
OKLCHoklch(50.01% 0.194 301.5)
XYZxyz(18.6322, 10.8669, 49.2502)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BBD #7FBD3B
analogous
#3B3EBD #793BBD #BA3BBD
triadic
#793BBD #BD793B #3BBD79
tetradic
#793BBD #BD3B3E #7FBD3B #3BBDBA
square
#793BBD #BD3B3E #7FBD3B #3BBDBA
split-complementary
#793BBD #BDBA3B #3EBD3B
monochromatic
#3D1E60 #5B2C8E #793BBD #9866CF #B895DE

Accessibility & contrast

On white

6.62
#793BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#793BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BBD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BBD#FFFFFF#000000##FFFFFF
##793BBD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#6B5977
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793bbd;
/* rgb */ color: rgb(121, 59, 189);
/* oklch */ color: oklch(50.0% 0.194 301.5);
Tailwind
colors: {
  custom: {
    50: '#a576d2',
    500: '#793bbd',
    950: '#000000',
  },
}
SCSS
$custom: #793bbd;
$custom-light: #a576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793bbd",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 268.615,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.194,
    "h": 301.5
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#793BBD
secondary
#ABC98B
accent
#DC4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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