#795296#795296

#795296 is a mid, moderate violet. Relative luminance 0.123; OKLCH L 50.9% C 0.112 H 309.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#795296
RGBrgb(121, 82, 150)
HSLhsl(274, 29%, 45%)
HSVhsv(274, 45%, 59%)
CMYKcmyk(19.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(41.69, 29.72, -31.19)
CIE-LCHlch(41.69, 43.08, 313.62°)
OKLaboklab(50.95% 0.0712 -0.0868)
OKLCHoklch(50.95% 0.112 309.4)
XYZxyz(16.4064, 12.3018, 30.3584)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795296 #6F9652
analogous
#575296 #795296 #965291
triadic
#795296 #967952 #529679
tetradic
#795296 #965752 #6F9652 #529196
square
#795296 #965752 #6F9652 #529196
split-complementary
#795296 #919652 #529657
monochromatic
#392747 #593C6E #795296 #9773B2 #B59AC8

Accessibility & contrast

On white

6.07
#795296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#795296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795296
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795296#FFFFFF#000000##FFFFFF
##7952961.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436198
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#755D6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795296;
/* rgb */ color: rgb(121, 82, 150);
/* oklch */ color: oklch(50.9% 0.112 309.4);
Tailwind
colors: {
  custom: {
    50: '#a183b5',
    500: '#795296',
    950: '#000000',
  },
}
SCSS
$custom: #795296;
$custom-light: #a183b5;
$custom-dark: #000000;
JSON
{
  "hex": "#795296",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 274.412,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.11223,
    "h": 309.4
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#795296
secondary
#9FB58F
accent
#C6628D
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795296

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

Preview Lab → · Contrast checker → · Palette generator →

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