#795CA6#795CA6

#795CA6 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.6% C 0.116 H 300.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#795CA6
RGBrgb(121, 92, 166)
HSLhsl(264, 29%, 51%)
HSVhsv(264, 45%, 65%)
CMYKcmyk(27.1%, 44.6%, 0%, 34.9%)
CIE-LABlab(44.90, 27.74, -35.66)
CIE-LCHlch(44.90, 45.18, 307.88°)
OKLaboklab(53.63% 0.0591 -0.0998)
OKLCHoklch(53.63% 0.116 300.6)
XYZxyz(18.5937, 14.4723, 37.8829)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CA6 #89A65C
analogous
#5C64A6 #795CA6 #9E5CA6
triadic
#795CA6 #A6795C #5CA679
tetradic
#795CA6 #A65C64 #89A65C #5CA69E
square
#795CA6 #A65C64 #89A65C #5CA69E
split-complementary
#795CA6 #A69E5C #64A65C
monochromatic
#3F3058 #5C467F #795CA6 #9A84BC #BAABD1

Accessibility & contrast

On white

5.39
#795CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#795CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CA6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CA6#FFFFFF#000000##FFFFFF
##795CA61.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#716979
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795ca6;
/* rgb */ color: rgb(121, 92, 166);
/* oklch */ color: oklch(53.6% 0.116 300.6);
Tailwind
colors: {
  custom: {
    50: '#a18ac1',
    500: '#795ca6',
    950: '#000000',
  },
}
SCSS
$custom: #795ca6;
$custom-light: #a18ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#795ca6",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 263.514,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.11596,
    "h": 300.6
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#795CA6
secondary
#B2BF9E
accent
#C6629F
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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