#795CA3#795CA3

#795CA3 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.5% C 0.112 H 301.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#795CA3
RGBrgb(121, 92, 163)
HSLhsl(265, 28%, 50%)
HSVhsv(265, 44%, 64%)
CMYKcmyk(25.8%, 43.6%, 0%, 36.1%)
CIE-LABlab(44.75, 26.98, -34.13)
CIE-LCHlch(44.75, 43.51, 308.33°)
OKLaboklab(53.46% 0.0586 -0.0953)
OKLCHoklch(53.46% 0.112 301.6)
XYZxyz(18.3217, 14.3636, 36.4504)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CA3 #86A35C
analogous
#5C63A3 #795CA3 #9C5CA3
triadic
#795CA3 #A3795C #5CA379
tetradic
#795CA3 #A35C63 #86A35C #5CA39C
square
#795CA3 #A35C63 #86A35C #5CA39C
split-complementary
#795CA3 #A39C5C #63A35C
monochromatic
#3F3055 #5C467C #795CA3 #9983B9 #B9AACF

Accessibility & contrast

On white

5.42
#795CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#795CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CA3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CA3#FFFFFF#000000##FFFFFF
##795CA31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A6
Deuteranopia (green-blind)
#4F6AA1
Tritanopia (blue-blind)
#716878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795ca3;
/* rgb */ color: rgb(121, 92, 163);
/* oklch */ color: oklch(53.5% 0.112 301.6);
Tailwind
colors: {
  custom: {
    50: '#a18abe',
    500: '#795ca3',
    950: '#000000',
  },
}
SCSS
$custom: #795ca3;
$custom-light: #a18abe;
$custom-dark: #000000;
JSON
{
  "hex": "#795ca3",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 264.507,
    "s": 27.843,
    "l": 50
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.11189,
    "h": 301.6
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#795CA3
secondary
#B0BD9D
accent
#C4649D
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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