#795BFD#795BFD

#795BFD is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.229 H 285.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795BFD
RGBrgb(121, 91, 253)
HSLhsl(251, 98%, 67%)
HSVhsv(251, 64%, 99%)
CMYKcmyk(52.2%, 64%, 0%, 0.8%)
CIE-LABlab(50.26, 52.35, -76.84)
CIE-LCHlch(50.26, 92.98, 304.27°)
OKLaboklab(59.35% 0.0614 -0.2206)
OKLCHoklch(59.35% 0.229 285.6)
XYZxyz(29.3506, 18.6374, 94.9603)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BFD #DFFD5B
analogous
#5B8EFD #795BFD #CA5BFD
triadic
#795BFD #FD795B #5BFD79
tetradic
#795BFD #FD5B8E #DFFD5B #5BFDCA
square
#795BFD #FD5B8E #DFFD5B #5BFDCA
split-complementary
#795BFD #FDCA5B #8EFD5B
monochromatic
#2B03DB #481FFC #795BFD #AA97FE #DCD4FE

Accessibility & contrast

On white

4.44
#795BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#795BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795BFD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BFD#FFFFFF#000000##000000
##795BFD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#4383A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795bfd;
/* rgb */ color: rgb(121, 91, 253);
/* oklch */ color: oklch(59.4% 0.229 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa8bff',
    500: '#795bfd',
    950: '#000000',
  },
}
SCSS
$custom: #795bfd;
$custom-light: #aa8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#795bfd",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 253
  },
  "hsl": {
    "h": 251.111,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.22899,
    "h": 285.6
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#795BFD
secondary
#EAF3C1
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795BFD

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

Preview Lab → · Contrast checker → · Palette generator →

#795BFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva