#795DA9#795DA9

#795DA9 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 54.0% C 0.118 H 299.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#795DA9
RGBrgb(121, 93, 169)
HSLhsl(262, 31%, 51%)
HSVhsv(262, 45%, 66%)
CMYKcmyk(28.4%, 45%, 0%, 33.7%)
CIE-LABlab(45.30, 27.92, -36.80)
CIE-LCHlch(45.30, 46.19, 307.18°)
OKLaboklab(53.97% 0.0581 -0.1031)
OKLCHoklch(53.97% 0.118 299.4)
XYZxyz(18.9593, 14.7581, 39.3782)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DA9 #8DA95D
analogous
#5D67A9 #795DA9 #9F5DA9
triadic
#795DA9 #A9795D #5DA979
tetradic
#795DA9 #A95D67 #8DA95D #5DA99F
square
#795DA9 #A95D67 #8DA95D #5DA99F
split-complementary
#795DA9 #A99F5D #67A95D
monochromatic
#40305B #5C4683 #795DA9 #9A85BE #BBADD3

Accessibility & contrast

On white

5.31
#795DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#795DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DA9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DA9#FFFFFF#000000##FFFFFF
##795DA91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAC
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#706A7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #795da9;
/* rgb */ color: rgb(121, 93, 169);
/* oklch */ color: oklch(54.0% 0.118 299.4);
Tailwind
colors: {
  custom: {
    50: '#a28bc3',
    500: '#795da9',
    950: '#000000',
  },
}
SCSS
$custom: #795da9;
$custom-light: #a28bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#795da9",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 262.105,
    "s": 30.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.11835,
    "h": 299.4
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#795DA9
secondary
#B5C2A0
accent
#C761A1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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