#795993#795993

#795993 is a mid, moderate violet. Relative luminance 0.133; OKLCH L 52.1% C 0.096 H 308.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#795993
RGBrgb(121, 89, 147)
HSLhsl(273, 25%, 46%)
HSVhsv(273, 39%, 58%)
CMYKcmyk(17.7%, 39.5%, 0%, 42.4%)
CIE-LABlab(43.24, 24.85, -26.97)
CIE-LCHlch(43.24, 36.67, 312.65°)
OKLaboklab(52.06% 0.0599 -0.0746)
OKLCHoklch(52.06% 0.096 308.7)
XYZxyz(16.7230, 13.3165, 29.2875)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795993 #739359
analogous
#5C5993 #795993 #935990
triadic
#795993 #937959 #599379
tetradic
#795993 #935C59 #739359 #599093
square
#795993 #935C59 #739359 #599093
split-complementary
#795993 #909359 #59935C
monochromatic
#3A2B47 #5A426D #795993 #977AAF #B5A1C6

Accessibility & contrast

On white

5.73
#795993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#795993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795993
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795993#FFFFFF#000000##FFFFFF
##7959931.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6595
Deuteranopia (green-blind)
#546791
Tritanopia (blue-blind)
#76626F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795993;
/* rgb */ color: rgb(121, 89, 147);
/* oklch */ color: oklch(52.1% 0.096 308.7);
Tailwind
colors: {
  custom: {
    50: '#a188b3',
    500: '#795993',
    950: '#000000',
  },
}
SCSS
$custom: #795993;
$custom-light: #a188b3;
$custom-dark: #000000;
JSON
{
  "hex": "#795993",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 273.103,
    "s": 24.576,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.09569,
    "h": 308.7
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#795993
secondary
#A2B494
accent
#C1678F
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #795993

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

Preview Lab → · Contrast checker → · Palette generator →

#795993 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva