#795BF9#795BF9

#795BF9 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.224 H 286.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795BF9
RGBrgb(121, 91, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.4%, 63.5%, 0%, 2.4%)
CIE-LABlab(49.96, 51.21, -75.11)
CIE-LCHlch(49.96, 90.90, 304.29°)
OKLaboklab(59.04% 0.0619 -0.2155)
OKLCHoklch(59.04% 0.224 286)
XYZxyz(28.7200, 18.3852, 91.6395)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BF9 #DBF95B
analogous
#5B8CF9 #795BF9 #C85BF9
triadic
#795BF9 #F9795B #5BF979
tetradic
#795BF9 #F95B8C #DBF95B #5BF9C8
square
#795BF9 #F95B8C #DBF95B #5BF9C8
split-complementary
#795BF9 #F9C85B #8CF95B
monochromatic
#2E08D2 #4920F7 #795BF9 #A996FB #D9D1FD

Accessibility & contrast

On white

4.49
#795BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#795BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795BF9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BF9#FFFFFF#000000##000000
##795BF91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0072F6
Tritanopia (blue-blind)
#4782A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795bf9;
/* rgb */ color: rgb(121, 91, 249);
/* oklch */ color: oklch(59.0% 0.224 286.0);
Tailwind
colors: {
  custom: {
    50: '#aa8bfc',
    500: '#795bf9',
    950: '#000000',
  },
}
SCSS
$custom: #795bf9;
$custom-light: #aa8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#795bf9",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 249
  },
  "hsl": {
    "h": 251.392,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.22419,
    "h": 286
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#795BF9
secondary
#E8F1BE
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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