#845FAE#845FAE

#845FAE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.124 H 304.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#845FAE
RGBrgb(132, 95, 174)
HSLhsl(268, 33%, 53%)
HSVhsv(268, 45%, 68%)
CMYKcmyk(24.1%, 45.4%, 0%, 31.8%)
CIE-LABlab(47.17, 31.18, -36.72)
CIE-LCHlch(47.17, 48.18, 310.34°)
OKLaboklab(55.72% 0.0699 -0.1026)
OKLCHoklch(55.72% 0.124 304.3)
XYZxyz(21.2463, 16.1460, 42.0334)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FAE #89AE5F
analogous
#5F62AE #845FAE #AB5FAE
triadic
#845FAE #AE845F #5FAE84
tetradic
#845FAE #AE5F62 #89AE5F #5FAEAB
square
#845FAE #AE5F62 #89AE5F #5FAEAB
split-complementary
#845FAE #AEAB5F #62AE5F
monochromatic
#483161 #66468A #845FAE #A388C3 #C2B0D7

Accessibility & contrast

On white

4.97
#845FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#845FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FAE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FAE#FFFFFF#000000##FFFFFF
##845FAE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#7D6C7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #845fae;
/* rgb */ color: rgb(132, 95, 174);
/* oklch */ color: oklch(55.7% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#a98dc6',
    500: '#845fae',
    950: '#000000',
  },
}
SCSS
$custom: #845fae;
$custom-light: #a98dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#845fae",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 268.101,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.12416,
    "h": 304.3
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#845FAE
secondary
#B5C6A3
accent
#C95F97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #845FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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