#795BF5#795BF5

#795BF5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.219 H 286.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795BF5
RGBrgb(121, 91, 245)
HSLhsl(252, 89%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.6%, 62.9%, 0%, 3.9%)
CIE-LABlab(49.66, 50.07, -73.36)
CIE-LCHlch(49.66, 88.81, 304.31°)
OKLaboklab(58.73% 0.0622 -0.2103)
OKLCHoklch(58.73% 0.219 286.5)
XYZxyz(28.1028, 18.1383, 88.3888)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BF5 #D7F55B
analogous
#5B8AF5 #795BF5 #C65BF5
triadic
#795BF5 #F5795B #5BF579
tetradic
#795BF5 #F55B8A #D7F55B #5BF5C6
square
#795BF5 #F55B8A #D7F55B #5BF5C6
split-complementary
#795BF5 #F5C65B #8AF55B
monochromatic
#310CC9 #4A21F1 #795BF5 #A895F9 #D7CEFC

Accessibility & contrast

On white

4.54
#795BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#795BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795BF5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BF5#FFFFFF#000000##000000
##795BF51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4A80A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795bf5;
/* rgb */ color: rgb(121, 91, 245);
/* oklch */ color: oklch(58.7% 0.219 286.5);
Tailwind
colors: {
  custom: {
    50: '#a98bf9',
    500: '#795bf5',
    950: '#000000',
  },
}
SCSS
$custom: #795bf5;
$custom-light: #a98bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#795bf5",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 251.688,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.21936,
    "h": 286.5
  },
  "luminance": 0.1814
}

Semantic roles & 50–950 ramp

primary
#795BF5
secondary
#E5EFBC
accent
#E500B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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