#795AA4#795AA4

#795AA4 is a mid, moderate violet. Relative luminance 0.141; OKLCH L 53.1% C 0.117 H 301.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#795AA4
RGBrgb(121, 90, 164)
HSLhsl(265, 29%, 50%)
HSVhsv(265, 45%, 64%)
CMYKcmyk(26.2%, 45.1%, 0%, 35.7%)
CIE-LABlab(44.32, 28.43, -35.41)
CIE-LCHlch(44.32, 45.40, 308.76°)
OKLaboklab(53.15% 0.0617 -0.099)
OKLCHoklch(53.15% 0.117 301.9)
XYZxyz(18.2407, 14.0576, 36.8672)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AA4 #85A45A
analogous
#5A60A4 #795AA4 #9E5AA4
triadic
#795AA4 #A4795A #5AA479
tetradic
#795AA4 #A45A60 #85A45A #5AA49E
square
#795AA4 #A45A60 #85A45A #5AA49E
split-complementary
#795AA4 #A49E5A #60A45A
monochromatic
#3F2F55 #5C447C #795AA4 #9981BA #B9A9D0

Accessibility & contrast

On white

5.51
#795AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#795AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AA4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AA4#FFFFFF#000000##FFFFFF
##795AA41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A7
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#716777
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795aa4;
/* rgb */ color: rgb(121, 90, 164);
/* oklch */ color: oklch(53.1% 0.117 301.9);
Tailwind
colors: {
  custom: {
    50: '#a189bf',
    500: '#795aa4',
    950: '#000000',
  },
}
SCSS
$custom: #795aa4;
$custom-light: #a189bf;
$custom-dark: #000000;
JSON
{
  "hex": "#795aa4",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 265.135,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.11666,
    "h": 301.9
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#795AA4
secondary
#B0BE9C
accent
#C5629C
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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