#795BD7#795BD7

#795BD7 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.182 H 290.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#795BD7
RGBrgb(121, 91, 215)
HSLhsl(255, 61%, 60%)
HSVhsv(255, 58%, 84%)
CMYKcmyk(43.7%, 57.7%, 0%, 15.7%)
CIE-LABlab(47.56, 41.56, -59.84)
CIE-LCHlch(47.56, 72.85, 304.78°)
OKLaboklab(56.54% 0.0639 -0.1706)
OKLCHoklch(56.54% 0.182 290.5)
XYZxyz(23.8886, 16.4526, 66.1938)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BD7 #B9D75B
analogous
#5B7BD7 #795BD7 #B75BD7
triadic
#795BD7 #D7795B #5BD779
tetradic
#795BD7 #D75B7B #B9D75B #5BD7B7
square
#795BD7 #D75B7B #B9D75B #5BD7B7
split-complementary
#795BD7 #D7B75B #7BD75B
monochromatic
#3F2494 #5430C5 #795BD7 #A18CE3 #C9BDEF

Accessibility & contrast

On white

4.89
#795BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#795BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BD7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BD7#FFFFFF#000000##FFFFFF
##795BD71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#5D7690
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795bd7;
/* rgb */ color: rgb(121, 91, 215);
/* oklch */ color: oklch(56.5% 0.182 290.5);
Tailwind
colors: {
  custom: {
    50: '#a68ae4',
    500: '#795bd7',
    950: '#000000',
  },
}
SCSS
$custom: #795bd7;
$custom-light: #a68ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#795bd7",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 254.516,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.18215,
    "h": 290.5
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#795BD7
secondary
#D3DFAF
accent
#E444BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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