#795EA5#795EA5

#795EA5 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.9% C 0.111 H 300.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#795EA5
RGBrgb(121, 94, 165)
HSLhsl(263, 28%, 51%)
HSVhsv(263, 43%, 65%)
CMYKcmyk(26.7%, 43%, 0%, 35.3%)
CIE-LABlab(45.34, 26.29, -34.38)
CIE-LCHlch(45.34, 43.28, 307.41°)
OKLaboklab(53.94% 0.056 -0.0961)
OKLCHoklch(53.94% 0.111 300.2)
XYZxyz(18.6779, 14.7869, 37.4602)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EA5 #8AA55E
analogous
#5E66A5 #795EA5 #9C5EA5
triadic
#795EA5 #A5795E #5EA579
tetradic
#795EA5 #A55E66 #8AA55E #5EA59C
square
#795EA5 #A55E66 #8AA55E #5EA59C
split-complementary
#795EA5 #A59C5E #66A55E
monochromatic
#403158 #5C477F #795EA5 #9A85BB #BAADD1

Accessibility & contrast

On white

5.31
#795EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#795EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EA5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EA5#FFFFFF#000000##FFFFFF
##795EA51.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#716A79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795ea5;
/* rgb */ color: rgb(121, 94, 165);
/* oklch */ color: oklch(53.9% 0.111 300.2);
Tailwind
colors: {
  custom: {
    50: '#a18cc0',
    500: '#795ea5',
    950: '#000000',
  },
}
SCSS
$custom: #795ea5;
$custom-light: #a18cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ea5",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 262.817,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.1112,
    "h": 300.2
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#795EA5
secondary
#B3BFA0
accent
#C563A0
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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