#845DAF#845DAF

#845DAF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.129 H 304.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#845DAF
RGBrgb(132, 93, 175)
HSLhsl(269, 34%, 53%)
HSVhsv(269, 47%, 69%)
CMYKcmyk(24.6%, 46.9%, 0%, 31.4%)
CIE-LABlab(46.75, 32.59, -37.96)
CIE-LCHlch(46.75, 50.03, 310.65°)
OKLaboklab(55.43% 0.073 -0.1062)
OKLCHoklch(55.43% 0.129 304.5)
XYZxyz(21.1663, 15.8295, 42.4894)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DAF #88AF5D
analogous
#5D5FAF #845DAF #AD5DAF
triadic
#845DAF #AF845D #5DAF84
tetradic
#845DAF #AF5D5F #88AF5D #5DAFAD
square
#845DAF #AF5D5F #88AF5D #5DAFAD
split-complementary
#845DAF #AFAD5D #5FAF5D
monochromatic
#483061 #66448A #845DAF #A386C3 #C2AFD7

Accessibility & contrast

On white

5.04
#845DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#845DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845DAF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DAF#FFFFFF#000000##FFFFFF
##845DAF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#7D6B7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845daf;
/* rgb */ color: rgb(132, 93, 175);
/* oklch */ color: oklch(55.4% 0.129 304.5);
Tailwind
colors: {
  custom: {
    50: '#aa8cc7',
    500: '#845daf',
    950: '#000000',
  },
}
SCSS
$custom: #845daf;
$custom-light: #aa8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#845daf",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 268.537,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.12883,
    "h": 304.5
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#845DAF
secondary
#B5C6A2
accent
#CA5E97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #845DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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