#825797#825797

#825797 is a mid, moderate purple. Relative luminance 0.138; OKLCH L 52.9% C 0.108 H 314.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#825797
RGBrgb(130, 87, 151)
HSLhsl(280, 27%, 47%)
HSVhsv(280, 42%, 59%)
CMYKcmyk(13.9%, 42.4%, 0%, 40.8%)
CIE-LABlab(43.94, 29.82, -28.19)
CIE-LCHlch(43.94, 41.04, 316.61°)
OKLaboklab(52.88% 0.0752 -0.0779)
OKLCHoklch(52.88% 0.108 314)
XYZxyz(18.1991, 13.7970, 30.9765)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#825797 #6C9757
analogous
#625797 #825797 #97578C
triadic
#825797 #978257 #579782
tetradic
#825797 #976257 #6C9757 #578C97
square
#825797 #976257 #6C9757 #578C97
split-complementary
#825797 #8C9757 #579762
monochromatic
#3F2A49 #614170 #825797 #9F79B2 #BBA0C8

Accessibility & contrast

On white

5.59
#825797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#825797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #825797
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##825797#FFFFFF#000000##FFFFFF
##8257971.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#806070
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #825797;
/* rgb */ color: rgb(130, 87, 151);
/* oklch */ color: oklch(52.9% 0.108 314.0);
Tailwind
colors: {
  custom: {
    50: '#a787b6',
    500: '#825797',
    950: '#000000',
  },
}
SCSS
$custom: #825797;
$custom-light: #a787b6;
$custom-dark: #000000;
JSON
{
  "hex": "#825797",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 280.313,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.10832,
    "h": 314
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#825797
secondary
#9FB694
accent
#C36584
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #825797

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

Preview Lab → · Contrast checker → · Palette generator →

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