#795282#795282

#795282 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 49.9% C 0.087 H 319.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#795282
RGBrgb(121, 82, 130)
HSLhsl(289, 23%, 42%)
HSVhsv(289, 37%, 51%)
CMYKcmyk(6.9%, 36.9%, 0%, 49%)
CIE-LABlab(40.75, 25.16, -20.55)
CIE-LCHlch(40.75, 32.48, 320.76°)
OKLaboklab(49.93% 0.0669 -0.0562)
OKLCHoklch(49.93% 0.087 319.9)
XYZxyz(14.9312, 11.7117, 22.5888)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795282 #5B8252
analogous
#615282 #795282 #825273
triadic
#795282 #827952 #528279
tetradic
#795282 #826152 #5B8252 #527382
square
#795282 #826152 #5B8252 #527382
split-complementary
#795282 #738252 #528261
monochromatic
#332337 #563A5C #795282 #996EA3 #B493BB

Accessibility & contrast

On white

6.28
#795282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#795282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795282
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795282#FFFFFF#000000##FFFFFF
##7952821.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D84
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#7A5864
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795282;
/* rgb */ color: rgb(121, 82, 130);
/* oklch */ color: oklch(49.9% 0.087 319.9);
Tailwind
colors: {
  custom: {
    50: '#a083a6',
    500: '#795282',
    950: '#000000',
  },
}
SCSS
$custom: #795282;
$custom-light: #a083a6;
$custom-dark: #000000;
JSON
{
  "hex": "#795282",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 288.75,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.08735,
    "h": 319.9
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#795282
secondary
#8EA888
accent
#BF6979
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0A0F
muted
#7E7C7F

Preview Lab

Preview with #795282

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

Preview Lab → · Contrast checker → · Palette generator →

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