#795AA3#795AA3

#795AA3 is a mid, moderate violet. Relative luminance 0.140; OKLCH L 53.1% C 0.115 H 302.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#795AA3
RGBrgb(121, 90, 163)
HSLhsl(265, 29%, 50%)
HSVhsv(265, 45%, 64%)
CMYKcmyk(25.8%, 44.8%, 0%, 36.1%)
CIE-LABlab(44.26, 28.17, -34.90)
CIE-LCHlch(44.26, 44.85, 308.92°)
OKLaboklab(53.09% 0.0615 -0.0975)
OKLCHoklch(53.09% 0.115 302.2)
XYZxyz(18.1507, 14.0216, 36.3934)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AA3 #84A35A
analogous
#5A60A3 #795AA3 #9E5AA3
triadic
#795AA3 #A3795A #5AA379
tetradic
#795AA3 #A35A60 #84A35A #5AA39E
square
#795AA3 #A35A60 #84A35A #5AA39E
split-complementary
#795AA3 #A39E5A #60A35A
monochromatic
#3E2E54 #5C447C #795AA3 #9981B9 #B9A8CF

Accessibility & contrast

On white

5.52
#795AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#795AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AA3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AA3#FFFFFF#000000##FFFFFF
##795AA31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A6
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#726677
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795aa3;
/* rgb */ color: rgb(121, 90, 163);
/* oklch */ color: oklch(53.1% 0.115 302.2);
Tailwind
colors: {
  custom: {
    50: '#a189be',
    500: '#795aa3',
    950: '#000000',
  },
}
SCSS
$custom: #795aa3;
$custom-light: #a189be;
$custom-dark: #000000;
JSON
{
  "hex": "#795aa3",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 265.479,
    "s": 28.854,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.1153,
    "h": 302.2
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#795AA3
secondary
#AFBD9C
accent
#C5639B
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #795AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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