#793DCD#793DCD

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

Color values

HEX#793DCD
RGBrgb(121, 61, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 70%, 80%)
CMYKcmyk(41%, 70.2%, 0%, 19.6%)
CIE-LABlab(40.91, 54.88, -64.87)
CIE-LCHlch(40.91, 84.98, 310.23°)
OKLaboklab(51.5% 0.0968 -0.1854)
OKLCHoklch(51.5% 0.209 297.6)
XYZxyz(20.5705, 11.8099, 58.9415)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DCD #91CD3D
analogous
#3D49CD #793DCD #C13DCD
triadic
#793DCD #CD793D #3DCD79
tetradic
#793DCD #CD3D49 #91CD3D #3DCDC1
square
#793DCD #CD3D49 #91CD3D #3DCDC1
split-complementary
#793DCD #CDC13D #49CD3D
monochromatic
#411D72 #5C2AA3 #793DCD #9B6EDA #BC9EE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793DCD#FFFFFF#000000##FFFFFF
##793DCD1.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)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#646181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793dcd;
/* rgb */ color: rgb(121, 61, 205);
/* oklch */ color: oklch(51.5% 0.209 297.6);
Tailwind
colors: {
  custom: {
    50: '#a677dd',
    500: '#793dcd',
    950: '#000000',
  },
}
SCSS
$custom: #793dcd;
$custom-light: #a677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793dcd",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 265,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.20911,
    "h": 297.6
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#793DCD
secondary
#B8D293
accent
#E246A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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