#795EBE#795EBE

#795EBE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.145 H 294.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#795EBE
RGBrgb(121, 94, 190)
HSLhsl(257, 42%, 56%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(36.3%, 50.5%, 0%, 25.5%)
CIE-LABlab(46.69, 32.90, -46.86)
CIE-LCHlch(46.69, 57.25, 305.07°)
OKLaboklab(55.39% 0.0593 -0.1325)
OKLCHoklch(55.39% 0.145 294.1)
XYZxyz(21.1797, 15.7876, 50.6366)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EBE #A3BE5E
analogous
#5E73BE #795EBE #A95EBE
triadic
#795EBE #BE795E #5EBE79
tetradic
#795EBE #BE5E73 #A3BE5E #5EBEA9
square
#795EBE #BE5E73 #A3BE5E #5EBEA9
split-complementary
#795EBE #BEA95E #73BE5E
monochromatic
#422E73 #5B409F #795EBE #9D8AD0 #C2B5E1

Accessibility & contrast

On white

5.05
#795EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#795EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EBE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EBE#FFFFFF#000000##FFFFFF
##795EBE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#687185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795ebe;
/* rgb */ color: rgb(121, 94, 190);
/* oklch */ color: oklch(55.4% 0.145 294.1);
Tailwind
colors: {
  custom: {
    50: '#a38cd2',
    500: '#795ebe',
    950: '#000000',
  },
}
SCSS
$custom: #795ebe;
$custom-light: #a38cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#795ebe",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 256.875,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.14514,
    "h": 294.1
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#795EBE
secondary
#C5D0A8
accent
#D256AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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