#795482#795482

#795482 is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.3% C 0.083 H 319.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#795482
RGBrgb(121, 84, 130)
HSLhsl(288, 21%, 42%)
HSVhsv(288, 35%, 51%)
CMYKcmyk(6.9%, 35.4%, 0%, 49%)
CIE-LABlab(41.24, 23.96, -19.79)
CIE-LCHlch(41.24, 31.08, 320.45°)
OKLaboklab(50.3% 0.0636 -0.0541)
OKLCHoklch(50.3% 0.083 319.6)
XYZxyz(15.0842, 12.0177, 22.6398)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795482 #5D8254
analogous
#625482 #795482 #825474
triadic
#795482 #827954 #548279
tetradic
#795482 #826254 #5D8254 #547482
square
#795482 #826254 #5D8254 #547482
split-complementary
#795482 #748254 #548262
monochromatic
#342438 #563C5D #795482 #9970A3 #B496BB

Accessibility & contrast

On white

6.17
#795482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#795482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795482
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795482#FFFFFF#000000##FFFFFF
##7954821.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#7A5965
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795482;
/* rgb */ color: rgb(121, 84, 130);
/* oklch */ color: oklch(50.3% 0.083 319.6);
Tailwind
colors: {
  custom: {
    50: '#a084a6',
    500: '#795482',
    950: '#000000',
  },
}
SCSS
$custom: #795482;
$custom-light: #a084a6;
$custom-dark: #000000;
JSON
{
  "hex": "#795482",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 288.261,
    "s": 21.495,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.08349,
    "h": 319.6
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#795482
secondary
#90A88A
accent
#BE6A7A
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795482

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

Preview Lab → · Contrast checker → · Palette generator →

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