#793FCC#793FCC

#793FCC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.206 H 297.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#793FCC
RGBrgb(121, 63, 204)
HSLhsl(265, 58%, 52%)
HSVhsv(265, 69%, 80%)
CMYKcmyk(40.7%, 69.1%, 0%, 20%)
CIE-LABlab(41.18, 53.66, -63.85)
CIE-LCHlch(41.18, 83.41, 310.04°)
OKLaboklab(51.66% 0.095 -0.1824)
OKLCHoklch(51.66% 0.206 297.5)
XYZxyz(20.5589, 11.9792, 58.3441)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FCC #92CC3F
analogous
#3F4BCC #793FCC #C03FCC
triadic
#793FCC #CC793F #3FCC79
tetradic
#793FCC #CC3F4B #92CC3F #3FCCC0
square
#793FCC #CC3F4B #92CC3F #3FCCC0
split-complementary
#793FCC #CCC03F #4BCC3F
monochromatic
#411E72 #5C2BA3 #793FCC #9B6FD9 #BCA0E6

Accessibility & contrast

On white

6.18
#793FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793FCC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FCC#FFFFFF#000000##FFFFFF
##793FCC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#646181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793fcc;
/* rgb */ color: rgb(121, 63, 204);
/* oklch */ color: oklch(51.7% 0.206 297.5);
Tailwind
colors: {
  custom: {
    50: '#a678dc',
    500: '#793fcc',
    950: '#000000',
  },
}
SCSS
$custom: #793fcc;
$custom-light: #a678dc;
$custom-dark: #000000;
JSON
{
  "hex": "#793fcc",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 264.681,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.20563,
    "h": 297.5
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#793FCC
secondary
#B9D295
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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