#793ECF#793ECF

#793ECF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.210 H 297.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#793ECF
RGBrgb(121, 62, 207)
HSLhsl(264, 60%, 53%)
HSVhsv(264, 70%, 81%)
CMYKcmyk(41.5%, 70%, 0%, 18.8%)
CIE-LABlab(41.24, 54.91, -65.50)
CIE-LCHlch(41.24, 85.47, 309.98°)
OKLaboklab(51.78% 0.0955 -0.1872)
OKLCHoklch(51.78% 0.21 297)
XYZxyz(20.8673, 12.0148, 60.2390)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ECF #94CF3E
analogous
#3E4BCF #793ECF #C23ECF
triadic
#793ECF #CF793E #3ECF79
tetradic
#793ECF #CF3E4B #94CF3E #3ECFC2
square
#793ECF #CF3E4B #94CF3E #3ECFC2
split-complementary
#793ECF #CFC23E #4BCF3E
monochromatic
#411D75 #5C29A6 #793ECF #9B6FDB #BDA0E7

Accessibility & contrast

On white

6.17
#793ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#793ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ECF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ECF#FFFFFF#000000##FFFFFF
##793ECF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#636282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793ecf;
/* rgb */ color: rgb(121, 62, 207);
/* oklch */ color: oklch(51.8% 0.210 297.0);
Tailwind
colors: {
  custom: {
    50: '#a778df',
    500: '#793ecf',
    950: '#000000',
  },
}
SCSS
$custom: #793ecf;
$custom-light: #a778df;
$custom-dark: #000000;
JSON
{
  "hex": "#793ecf",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 264.414,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.21013,
    "h": 297
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#793ECF
secondary
#BAD495
accent
#E344A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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