#795290#795290

#795290 is a mid, moderate violet. Relative luminance 0.121; OKLCH L 50.6% C 0.105 H 312.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#795290
RGBrgb(121, 82, 144)
HSLhsl(278, 27%, 44%)
HSVhsv(278, 43%, 56%)
CMYKcmyk(16%, 43.1%, 0%, 43.5%)
CIE-LABlab(41.40, 28.31, -28.04)
CIE-LCHlch(41.40, 39.85, 315.27°)
OKLaboklab(50.63% 0.0701 -0.0777)
OKLCHoklch(50.63% 0.105 312.1)
XYZxyz(15.9356, 12.1134, 27.8788)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795290 #699052
analogous
#5A5290 #795290 #905288
triadic
#795290 #907952 #529079
tetradic
#795290 #905A52 #699052 #528890
square
#795290 #905A52 #699052 #528890
split-complementary
#795290 #889052 #52905A
monochromatic
#372642 #583C69 #795290 #9771AE #B498C4

Accessibility & contrast

On white

6.14
#795290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#795290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795290
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795290#FFFFFF#000000##FFFFFF
##7952901.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466092
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#775B6A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795290;
/* rgb */ color: rgb(121, 82, 144);
/* oklch */ color: oklch(50.6% 0.105 312.1);
Tailwind
colors: {
  custom: {
    50: '#a183b1',
    500: '#795290',
    950: '#000000',
  },
}
SCSS
$custom: #795290;
$custom-light: #a183b1;
$custom-dark: #000000;
JSON
{
  "hex": "#795290",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 277.742,
    "s": 27.434,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.10461,
    "h": 312.1
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#795290
secondary
#9AB18C
accent
#C46488
background
#FAF8FA
surface
#F3EFF5
border
#CDCACF
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #795290

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

Preview Lab → · Contrast checker → · Palette generator →

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