#795EA9#795EA9

#795EA9 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 54.2% C 0.117 H 299.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#795EA9
RGBrgb(121, 94, 169)
HSLhsl(262, 30%, 52%)
HSVhsv(262, 44%, 66%)
CMYKcmyk(28.4%, 44.4%, 0%, 33.7%)
CIE-LABlab(45.54, 27.32, -36.42)
CIE-LCHlch(45.54, 45.52, 306.88°)
OKLaboklab(54.16% 0.0567 -0.102)
OKLCHoklch(54.16% 0.117 299.1)
XYZxyz(19.0476, 14.9348, 39.4076)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EA9 #8EA95E
analogous
#5E69A9 #795EA9 #9F5EA9
triadic
#795EA9 #A9795E #5EA979
tetradic
#795EA9 #A95E69 #8EA95E #5EA99F
square
#795EA9 #A95E69 #8EA95E #5EA99F
split-complementary
#795EA9 #A99F5E #69A95E
monochromatic
#40315C #5C4684 #795EA9 #9A86BE #BBAED4

Accessibility & contrast

On white

5.27
#795EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#795EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EA9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EA9#FFFFFF#000000##FFFFFF
##795EA91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAC
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#706B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795ea9;
/* rgb */ color: rgb(121, 94, 169);
/* oklch */ color: oklch(54.2% 0.117 299.1);
Tailwind
colors: {
  custom: {
    50: '#a18cc3',
    500: '#795ea9',
    950: '#000000',
  },
}
SCSS
$custom: #795ea9;
$custom-light: #a18cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#795ea9",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 261.6,
    "s": 30.364,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.11668,
    "h": 299.1
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#795EA9
secondary
#B6C2A1
accent
#C761A2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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