#793BCB#793BCB

#793BCB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.209 H 298.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#793BCB
RGBrgb(121, 59, 203)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40.4%, 70.9%, 0%, 20.4%)
CIE-LABlab(40.42, 55.33, -64.52)
CIE-LCHlch(40.42, 85.00, 310.62°)
OKLaboklab(51.1% 0.0991 -0.1843)
OKLCHoklch(51.1% 0.209 298.3)
XYZxyz(20.2259, 11.5044, 57.6433)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BCB #8DCB3B
analogous
#3B45CB #793BCB #C13BCB
triadic
#793BCB #CB793B #3BCB79
tetradic
#793BCB #CB3B45 #8DCB3B #3BCBC1
square
#793BCB #CB3B45 #8DCB3B #3BCBC1
split-complementary
#793BCB #CBC13B #45CB3B
monochromatic
#401D6E #5C2A9F #793BCB #9A6BD8 #BB9CE5

Accessibility & contrast

On white

6.36
#793BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#793BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BCB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BCB#FFFFFF#000000##FFFFFF
##793BCB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#655F7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793bcb;
/* rgb */ color: rgb(121, 59, 203);
/* oklch */ color: oklch(51.1% 0.209 298.3);
Tailwind
colors: {
  custom: {
    50: '#a676dc',
    500: '#793bcb',
    950: '#000000',
  },
}
SCSS
$custom: #793bcb;
$custom-light: #a676dc;
$custom-dark: #000000;
JSON
{
  "hex": "#793bcb",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 265.833,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.20925,
    "h": 298.3
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#793BCB
secondary
#B5D191
accent
#E1479F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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