#793BCF#793BCF

#793BCF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.214 H 297.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#793BCF
RGBrgb(121, 59, 207)
HSLhsl(265, 61%, 52%)
HSVhsv(265, 71%, 81%)
CMYKcmyk(41.5%, 71.5%, 0%, 18.8%)
CIE-LABlab(40.73, 56.34, -66.33)
CIE-LCHlch(40.73, 87.02, 310.34°)
OKLaboklab(51.42% 0.0983 -0.1896)
OKLCHoklch(51.42% 0.214 297.4)
XYZxyz(20.7087, 11.6975, 60.1862)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BCF #91CF3B
analogous
#3B47CF #793BCF #C33BCF
triadic
#793BCF #CF793B #3BCF79
tetradic
#793BCF #CF3B47 #91CF3B #3BCFC3
square
#793BCF #CF3B47 #91CF3B #3BCFC3
split-complementary
#793BCF #CFC33B #47CF3B
monochromatic
#411C73 #5C28A5 #793BCF #9B6CDB #BC9DE7

Accessibility & contrast

On white

6.29
#793BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#793BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BCF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BCF#FFFFFF#000000##FFFFFF
##793BCF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#636081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793bcf;
/* rgb */ color: rgb(121, 59, 207);
/* oklch */ color: oklch(51.4% 0.214 297.4);
Tailwind
colors: {
  custom: {
    50: '#a776df',
    500: '#793bcf',
    950: '#000000',
  },
}
SCSS
$custom: #793bcf;
$custom-light: #a776df;
$custom-dark: #000000;
JSON
{
  "hex": "#793bcf",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 265.135,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.21358,
    "h": 297.4
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#793BCF
secondary
#B8D393
accent
#E444A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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