#795E9D#795E9D

#795E9D is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.5% C 0.100 H 302.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#795E9D
RGBrgb(121, 94, 157)
HSLhsl(266, 25%, 49%)
HSVhsv(266, 40%, 62%)
CMYKcmyk(22.9%, 40.1%, 0%, 38.4%)
CIE-LABlab(44.95, 24.28, -30.26)
CIE-LCHlch(44.95, 38.80, 308.74°)
OKLaboklab(53.51% 0.0544 -0.0841)
OKLCHoklch(53.51% 0.1 302.9)
XYZxyz(17.9724, 14.5047, 33.7446)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E9D #829D5E
analogous
#5E639D #795E9D #995E9D
triadic
#795E9D #9D795E #5E9D79
tetradic
#795E9D #9D5E63 #829D5E #5E9D99
square
#795E9D #9D5E63 #829D5E #5E9D99
split-complementary
#795E9D #9D995E #639D5E
monochromatic
#3E3050 #5B4777 #795E9D #9983B5 #B8AACC

Accessibility & contrast

On white

5.38
#795E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#795E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E9D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E9D#FFFFFF#000000##FFFFFF
##795E9D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6A9F
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#736876
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795e9d;
/* rgb */ color: rgb(121, 94, 157);
/* oklch */ color: oklch(53.5% 0.100 302.9);
Tailwind
colors: {
  custom: {
    50: '#a18cba',
    500: '#795e9d',
    950: '#000000',
  },
}
SCSS
$custom: #795e9d;
$custom-light: #a18cba;
$custom-dark: #000000;
JSON
{
  "hex": "#795e9d",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 265.714,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.10022,
    "h": 302.9
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#795E9D
secondary
#ADBA9D
accent
#C2669A
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #795E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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