#795487#795487

#795487 is a mid, moderate purple. Relative luminance 0.122; OKLCH L 50.5% C 0.090 H 316.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#795487
RGBrgb(121, 84, 135)
HSLhsl(284, 23%, 43%)
HSVhsv(284, 38%, 53%)
CMYKcmyk(10.4%, 37.8%, 0%, 47.1%)
CIE-LABlab(41.46, 25.07, -22.49)
CIE-LCHlch(41.46, 33.68, 318.10°)
OKLaboklab(50.54% 0.0649 -0.0618)
OKLCHoklch(50.54% 0.09 316.4)
XYZxyz(15.4280, 12.1552, 24.4504)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795487 #628754
analogous
#5F5487 #795487 #87547C
triadic
#795487 #877954 #548779
tetradic
#795487 #875F54 #628754 #547C87
square
#795487 #875F54 #628754 #547C87
split-complementary
#795487 #7C8754 #54875F
monochromatic
#35253C #573D61 #795487 #9871A7 #B497BE

Accessibility & contrast

On white

6.12
#795487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#795487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795487
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795487#FFFFFF#000000##FFFFFF
##7954871.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#795A67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795487;
/* rgb */ color: rgb(121, 84, 135);
/* oklch */ color: oklch(50.5% 0.090 316.4);
Tailwind
colors: {
  custom: {
    50: '#a085aa',
    500: '#795487',
    950: '#000000',
  },
}
SCSS
$custom: #795487;
$custom-light: #a085aa;
$custom-dark: #000000;
JSON
{
  "hex": "#795487",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 283.529,
    "s": 23.288,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.08961,
    "h": 316.4
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#795487
secondary
#94AC8B
accent
#C06880
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795487

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

Preview Lab → · Contrast checker → · Palette generator →

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