#845697#845697

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

Color values

HEX#845697
RGBrgb(132, 86, 151)
HSLhsl(282, 27%, 46%)
HSVhsv(282, 43%, 59%)
CMYKcmyk(12.6%, 43%, 0%, 40.8%)
CIE-LABlab(43.94, 31.04, -28.18)
CIE-LCHlch(43.94, 41.92, 317.76°)
OKLaboklab(52.93% 0.0793 -0.0778)
OKLCHoklch(52.93% 0.111 315.5)
XYZxyz(18.4286, 13.7959, 30.9643)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845697 #699756
analogous
#645697 #845697 #97568A
triadic
#845697 #978456 #569784
tetradic
#845697 #976456 #699756 #568A97
square
#845697 #976456 #699756 #568A97
split-complementary
#845697 #8A9756 #569764
monochromatic
#402A49 #624070 #845697 #A178B2 #BC9FC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845697#FFFFFF#000000##FFFFFF
##8456971.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)
#576995
Tritanopia (blue-blind)
#835F6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #845697;
/* rgb */ color: rgb(132, 86, 151);
/* oklch */ color: oklch(52.9% 0.111 315.5);
Tailwind
colors: {
  custom: {
    50: '#a987b6',
    500: '#845697',
    950: '#000000',
  },
}
SCSS
$custom: #845697;
$custom-light: #a987b6;
$custom-dark: #000000;
JSON
{
  "hex": "#845697",
  "rgb": {
    "r": 132,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 282.462,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.11111,
    "h": 315.5
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#845697
secondary
#9DB693
accent
#C46480
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #845697

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

Preview Lab → · Contrast checker → · Palette generator →

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