#793BFA#793BFA

#793BFA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.1% C 0.259 H 289.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#793BFA
RGBrgb(121, 59, 250)
HSLhsl(259, 95%, 61%)
HSVhsv(259, 76%, 98%)
CMYKcmyk(51.6%, 76.4%, 0%, 2%)
CIE-LABlab(44.37, 67.26, -84.82)
CIE-LCHlch(44.37, 108.25, 308.41°)
OKLaboklab(55.09% 0.0878 -0.2438)
OKLCHoklch(55.09% 0.259 289.8)
XYZxyz(26.6994, 14.0938, 91.7375)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BFA #BCFA3B
analogous
#3B5DFA #793BFA #D83BFA
triadic
#793BFA #FA793B #3BFA79
tetradic
#793BFA #FA3B5D #BCFA3B #3BFAD8
square
#793BFA #FA3B5D #BCFA3B #3BFAD8
split-complementary
#793BFA #FAD83B #5DFA3B
monochromatic
#3E05B6 #5306F2 #793BFA #A277FC #CBB2FD

Accessibility & contrast

On white

5.50
#793BFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#793BFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BFA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BFA#FFFFFF#000000##FFFFFF
##793BFA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0064F7
Tritanopia (blue-blind)
#49729A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #793bfa;
/* rgb */ color: rgb(121, 59, 250);
/* oklch */ color: oklch(55.1% 0.259 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac78fd',
    500: '#793bfa',
    950: '#000000',
  },
}
SCSS
$custom: #793bfa;
$custom-light: #ac78fd;
$custom-dark: #000000;
JSON
{
  "hex": "#793bfa",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 250
  },
  "hsl": {
    "h": 259.476,
    "s": 95.025,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.25917,
    "h": 289.8
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#793BFA
secondary
#D5EDA4
accent
#E6009B
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #793BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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