#795BA4#795BA4

#795BA4 is a mid, moderate violet. Relative luminance 0.142; OKLCH L 53.3% C 0.115 H 301.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#795BA4
RGBrgb(121, 91, 164)
HSLhsl(265, 29%, 50%)
HSVhsv(265, 45%, 64%)
CMYKcmyk(26.2%, 44.5%, 0%, 35.7%)
CIE-LABlab(44.56, 27.83, -35.02)
CIE-LCHlch(44.56, 44.74, 308.47°)
OKLaboklab(53.33% 0.0602 -0.0979)
OKLCHoklch(53.33% 0.115 301.6)
XYZxyz(18.3256, 14.2274, 36.8955)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BA4 #86A45B
analogous
#5B61A4 #795BA4 #9E5BA4
triadic
#795BA4 #A4795B #5BA479
tetradic
#795BA4 #A45B61 #86A45B #5BA49E
square
#795BA4 #A45B61 #86A45B #5BA49E
split-complementary
#795BA4 #A49E5B #61A45B
monochromatic
#3F2F55 #5C457D #795BA4 #9982BA #B9AAD0

Accessibility & contrast

On white

5.46
#795BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#795BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BA4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BA4#FFFFFF#000000##FFFFFF
##795BA41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#716877
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795ba4;
/* rgb */ color: rgb(121, 91, 164);
/* oklch */ color: oklch(53.3% 0.115 301.6);
Tailwind
colors: {
  custom: {
    50: '#a18abf',
    500: '#795ba4',
    950: '#000000',
  },
}
SCSS
$custom: #795ba4;
$custom-light: #a18abf;
$custom-dark: #000000;
JSON
{
  "hex": "#795ba4",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 264.658,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.11495,
    "h": 301.6
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#795BA4
secondary
#B0BE9D
accent
#C5639D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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