#795FAE#795FAE

#795FAE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.6% C 0.122 H 297.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#795FAE
RGBrgb(121, 95, 174)
HSLhsl(260, 33%, 53%)
HSVhsv(260, 45%, 68%)
CMYKcmyk(30.5%, 45.4%, 0%, 31.8%)
CIE-LABlab(46.05, 28.02, -38.56)
CIE-LCHlch(46.05, 47.66, 306.01°)
OKLaboklab(54.62% 0.0561 -0.1082)
OKLCHoklch(54.62% 0.122 297.4)
XYZxyz(19.6155, 15.3051, 41.9569)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FAE #94AE5F
analogous
#5F6CAE #795FAE #A05FAE
triadic
#795FAE #AE795F #5FAE79
tetradic
#795FAE #AE5F6C #94AE5F #5FAEA0
square
#795FAE #AE5F6C #94AE5F #5FAEA0
split-complementary
#795FAE #AEA05F #6CAE5F
monochromatic
#413161 #5C468A #795FAE #9B88C3 #BDB0D7

Accessibility & contrast

On white

5.17
#795FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#795FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FAE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FAE#FFFFFF#000000##FFFFFF
##795FAE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DB1
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#6E6D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795fae;
/* rgb */ color: rgb(121, 95, 174);
/* oklch */ color: oklch(54.6% 0.122 297.4);
Tailwind
colors: {
  custom: {
    50: '#a28dc6',
    500: '#795fae',
    950: '#000000',
  },
}
SCSS
$custom: #795fae;
$custom-light: #a28dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#795fae",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 259.747,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.12187,
    "h": 297.4
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#795FAE
secondary
#BAC6A3
accent
#C95FA6
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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