#793CCF#793CCF

#793CCF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.212 H 297.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#793CCF
RGBrgb(121, 60, 207)
HSLhsl(265, 60%, 52%)
HSVhsv(265, 71%, 81%)
CMYKcmyk(41.5%, 71%, 0%, 18.8%)
CIE-LABlab(40.90, 55.87, -66.05)
CIE-LCHlch(40.90, 86.51, 310.22°)
OKLaboklab(51.53% 0.0974 -0.1888)
OKLCHoklch(51.53% 0.212 297.3)
XYZxyz(20.7606, 11.8013, 60.2035)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CCF #92CF3C
analogous
#3C48CF #793CCF #C33CCF
triadic
#793CCF #CF793C #3CCF79
tetradic
#793CCF #CF3C48 #92CF3C #3CCFC3
square
#793CCF #CF3C48 #92CF3C #3CCFC3
split-complementary
#793CCF #CFC33C #48CF3C
monochromatic
#411D74 #5C29A5 #793CCF #9B6DDB #BC9EE7

Accessibility & contrast

On white

6.25
#793CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#793CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CCF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CCF#FFFFFF#000000##FFFFFF
##793CCF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#636182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793ccf;
/* rgb */ color: rgb(121, 60, 207);
/* oklch */ color: oklch(51.5% 0.212 297.3);
Tailwind
colors: {
  custom: {
    50: '#a777df',
    500: '#793ccf',
    950: '#000000',
  },
}
SCSS
$custom: #793ccf;
$custom-light: #a777df;
$custom-dark: #000000;
JSON
{
  "hex": "#793ccf",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 264.898,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.21245,
    "h": 297.3
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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