#793CCB#793CCB

#793CCB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.208 H 298.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#793CCB
RGBrgb(121, 60, 203)
HSLhsl(266, 58%, 52%)
HSVhsv(266, 70%, 80%)
CMYKcmyk(40.4%, 70.4%, 0%, 20.4%)
CIE-LABlab(40.59, 54.86, -64.25)
CIE-LCHlch(40.59, 84.48, 310.49°)
OKLaboklab(51.22% 0.0981 -0.1835)
OKLCHoklch(51.22% 0.208 298.1)
XYZxyz(20.2777, 11.6081, 57.6606)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CCB #8ECB3C
analogous
#3C47CB #793CCB #C03CCB
triadic
#793CCB #CB793C #3CCB79
tetradic
#793CCB #CB3C47 #8ECB3C #3CCBC0
square
#793CCB #CB3C47 #8ECB3C #3CCBC0
split-complementary
#793CCB #CBC03C #47CB3C
monochromatic
#401E6F #5C2A9F #793CCB #9A6CD8 #BB9DE5

Accessibility & contrast

On white

6.32
#793CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#793CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CCB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CCB#FFFFFF#000000##FFFFFF
##793CCB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#655F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793ccb;
/* rgb */ color: rgb(121, 60, 203);
/* oklch */ color: oklch(51.2% 0.208 298.1);
Tailwind
colors: {
  custom: {
    50: '#a677dc',
    500: '#793ccb',
    950: '#000000',
  },
}
SCSS
$custom: #793ccb;
$custom-light: #a677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#793ccb",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 265.594,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.20809,
    "h": 298.1
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#793CCB
secondary
#B6D192
accent
#E1479F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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