#793ECD#793ECD

#793ECD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.208 H 297.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#793ECD
RGBrgb(121, 62, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 70%, 80%)
CMYKcmyk(41%, 69.8%, 0%, 19.6%)
CIE-LABlab(41.08, 54.40, -64.59)
CIE-LCHlch(41.08, 84.45, 310.11°)
OKLaboklab(51.62% 0.0958 -0.1845)
OKLCHoklch(51.62% 0.208 297.4)
XYZxyz(20.6244, 11.9176, 58.9595)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ECD #92CD3E
analogous
#3E4BCD #793ECD #C03ECD
triadic
#793ECD #CD793E #3ECD79
tetradic
#793ECD #CD3E4B #92CD3E #3ECDC0
square
#793ECD #CD3E4B #92CD3E #3ECDC0
split-complementary
#793ECD #CDC03E #4BCD3E
monochromatic
#411E73 #5C2AA3 #793ECD #9B6FDA #BC9FE6

Accessibility & contrast

On white

6.21
#793ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793ECD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ECD#FFFFFF#000000##FFFFFF
##793ECD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#646181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793ecd;
/* rgb */ color: rgb(121, 62, 205);
/* oklch */ color: oklch(51.6% 0.208 297.4);
Tailwind
colors: {
  custom: {
    50: '#a678dd',
    500: '#793ecd',
    950: '#000000',
  },
}
SCSS
$custom: #793ecd;
$custom-light: #a678dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793ecd",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 264.755,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.20793,
    "h": 297.4
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#793ECD
secondary
#B9D394
accent
#E246A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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