#793FCA#793FCA

#793FCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.203 H 297.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#793FCA
RGBrgb(121, 63, 202)
HSLhsl(265, 57%, 52%)
HSVhsv(265, 69%, 79%)
CMYKcmyk(40.1%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.03, 53.15, -62.94)
CIE-LCHlch(41.03, 82.38, 310.18°)
OKLaboklab(51.51% 0.0953 -0.1797)
OKLCHoklch(51.51% 0.203 297.9)
XYZxyz(20.3206, 11.8839, 57.0889)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FCA #90CA3F
analogous
#3F4BCA #793FCA #BF3FCA
triadic
#793FCA #CA793F #3FCA79
tetradic
#793FCA #CA3F4B #90CA3F #3FCABF
square
#793FCA #CA3F4B #90CA3F #3FCABF
split-complementary
#793FCA #CABF3F #4BCA3F
monochromatic
#411F70 #5C2CA0 #793FCA #9A6FD7 #BC9FE4

Accessibility & contrast

On white

6.22
#793FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#793FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FCA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FCA#FFFFFF#000000##FFFFFF
##793FCA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#656180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793fca;
/* rgb */ color: rgb(121, 63, 202);
/* oklch */ color: oklch(51.5% 0.203 297.9);
Tailwind
colors: {
  custom: {
    50: '#a678db',
    500: '#793fca',
    950: '#000000',
  },
}
SCSS
$custom: #793fca;
$custom-light: #a678db;
$custom-dark: #000000;
JSON
{
  "hex": "#793fca",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 265.036,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.20341,
    "h": 297.9
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#793FCA
secondary
#B7D194
accent
#E048A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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