#845F92#845F92

#845F92 is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.3% C 0.088 H 316.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#845F92
RGBrgb(132, 95, 146)
HSLhsl(284, 21%, 47%)
HSVhsv(284, 35%, 57%)
CMYKcmyk(9.6%, 34.9%, 0%, 42.7%)
CIE-LABlab(45.86, 24.66, -22.21)
CIE-LCHlch(45.86, 33.19, 317.99°)
OKLaboklab(54.31% 0.064 -0.0608)
OKLCHoklch(54.31% 0.088 316.5)
XYZxyz(18.7955, 15.1657, 29.1257)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845F92 #6D925F
analogous
#6A5F92 #845F92 #925F87
triadic
#845F92 #92845F #5F9284
tetradic
#845F92 #926A5F #6D925F #5F8792
square
#845F92 #926A5F #6D925F #5F8792
split-complementary
#845F92 #87925F #5F926A
monochromatic
#412F48 #62476D #845F92 #A181AD #BDA6C5

Accessibility & contrast

On white

5.21
#845F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#845F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845F92
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845F92#FFFFFF#000000##FFFFFF
##845F921.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A94
Deuteranopia (green-blind)
#606E90
Tritanopia (blue-blind)
#846572
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #845f92;
/* rgb */ color: rgb(132, 95, 146);
/* oklch */ color: oklch(54.3% 0.088 316.5);
Tailwind
colors: {
  custom: {
    50: '#a88db2',
    500: '#845f92',
    950: '#000000',
  },
}
SCSS
$custom: #845f92;
$custom-light: #a88db2;
$custom-dark: #000000;
JSON
{
  "hex": "#845f92",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 146
  },
  "hsl": {
    "h": 283.529,
    "s": 21.162,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.08834,
    "h": 316.5
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#845F92
secondary
#A0B499
accent
#BE6A81
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #845F92

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

Preview Lab → · Contrast checker → · Palette generator →

#845F92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva