#845895#845895

#845895 is a mid, moderate purple. Relative luminance 0.141; OKLCH L 53.2% C 0.105 H 316.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#845895
RGBrgb(132, 88, 149)
HSLhsl(283, 26%, 46%)
HSVhsv(283, 41%, 58%)
CMYKcmyk(11.4%, 40.9%, 0%, 41.6%)
CIE-LABlab(44.31, 29.43, -26.40)
CIE-LCHlch(44.31, 39.54, 318.11°)
OKLaboklab(53.18% 0.0758 -0.0728)
OKLCHoklch(53.18% 0.105 316.2)
XYZxyz(18.4294, 14.0554, 30.1701)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845895 #699558
analogous
#665895 #845895 #955888
triadic
#845895 #958458 #589584
tetradic
#845895 #956658 #699558 #588895
square
#845895 #956658 #699558 #588895
split-complementary
#845895 #889558 #589566
monochromatic
#402B48 #62416F #845895 #A17AB0 #BCA0C7

Accessibility & contrast

On white

5.51
#845895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#845895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845895
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845895#FFFFFF#000000##FFFFFF
##8458951.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6697
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#83606F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #845895;
/* rgb */ color: rgb(132, 88, 149);
/* oklch */ color: oklch(53.2% 0.105 316.2);
Tailwind
colors: {
  custom: {
    50: '#a988b4',
    500: '#845895',
    950: '#000000',
  },
}
SCSS
$custom: #845895;
$custom-light: #a988b4;
$custom-dark: #000000;
JSON
{
  "hex": "#845895",
  "rgb": {
    "r": 132,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 283.279,
    "s": 25.738,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.10505,
    "h": 316.2
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#845895
secondary
#9DB594
accent
#C2667F
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #845895

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

Preview Lab → · Contrast checker → · Palette generator →

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