#793FBF#793FBF

#793FBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.191 H 300.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#793FBF
RGBrgb(121, 63, 191)
HSLhsl(267, 50%, 50%)
HSVhsv(267, 67%, 75%)
CMYKcmyk(36.6%, 67%, 0%, 25.1%)
CIE-LABlab(40.22, 50.37, -57.86)
CIE-LCHlch(40.22, 76.72, 311.04°)
OKLaboklab(50.67% 0.0969 -0.1647)
OKLCHoklch(50.67% 0.191 300.5)
XYZxyz(19.0643, 11.3814, 50.4726)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FBF #85BF3F
analogous
#3F45BF #793FBF #B93FBF
triadic
#793FBF #BF793F #3FBF79
tetradic
#793FBF #BF3F45 #85BF3F #3FBFB9
square
#793FBF #BF3F45 #85BF3F #3FBFB9
split-complementary
#793FBF #BFB93F #45BF3F
monochromatic
#3F2163 #5C3091 #793FBF #996DCF #B99BDE

Accessibility & contrast

On white

6.41
#793FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#793FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FBF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FBF#FFFFFF#000000##FFFFFF
##793FBF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#6A5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793fbf;
/* rgb */ color: rgb(121, 63, 191);
/* oklch */ color: oklch(50.7% 0.191 300.5);
Tailwind
colors: {
  custom: {
    50: '#a578d3',
    500: '#793fbf',
    950: '#000000',
  },
}
SCSS
$custom: #793fbf;
$custom-light: #a578d3;
$custom-dark: #000000;
JSON
{
  "hex": "#793fbf",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 267.188,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.19112,
    "h": 300.5
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#793FBF
secondary
#B0CA90
accent
#DA4E9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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