#795DBE#795DBE

#795DBE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.2% C 0.147 H 294.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#795DBE
RGBrgb(121, 93, 190)
HSLhsl(257, 43%, 55%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(36.3%, 51.1%, 0%, 25.5%)
CIE-LABlab(46.46, 33.49, -47.23)
CIE-LCHlch(46.46, 57.90, 305.33°)
OKLaboklab(55.22% 0.0606 -0.1336)
OKLCHoklch(55.22% 0.147 294.4)
XYZxyz(21.0914, 15.6109, 50.6072)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DBE #A2BE5D
analogous
#5D71BE #795DBE #AA5DBE
triadic
#795DBE #BE795D #5DBE79
tetradic
#795DBE #BE5D71 #A2BE5D #5DBEAA
square
#795DBE #BE5D71 #A2BE5D #5DBEAA
split-complementary
#795DBE #BEAA5D #71BE5D
monochromatic
#422E73 #5B409E #795DBE #9D89D0 #C1B4E1

Accessibility & contrast

On white

5.09
#795DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#795DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DBE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DBE#FFFFFF#000000##FFFFFF
##795DBE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#687085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795dbe;
/* rgb */ color: rgb(121, 93, 190);
/* oklch */ color: oklch(55.2% 0.147 294.4);
Tailwind
colors: {
  custom: {
    50: '#a38bd2',
    500: '#795dbe',
    950: '#000000',
  },
}
SCSS
$custom: #795dbe;
$custom-light: #a38bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#795dbe",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 257.32,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.14668,
    "h": 294.4
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#795DBE
secondary
#C4D0A7
accent
#D355AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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