#845FBD#845FBD

#845FBD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.144 H 300.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#845FBD
RGBrgb(132, 95, 189)
HSLhsl(264, 42%, 56%)
HSVhsv(264, 50%, 74%)
CMYKcmyk(30.2%, 49.7%, 0%, 25.9%)
CIE-LABlab(47.96, 34.94, -44.20)
CIE-LCHlch(47.96, 56.34, 308.33°)
OKLaboklab(56.58% 0.0718 -0.1244)
OKLCHoklch(56.58% 0.144 300)
XYZxyz(22.7911, 16.7639, 50.1693)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FBD #98BD5F
analogous
#5F69BD #845FBD #B35FBD
triadic
#845FBD #BD845F #5FBD84
tetradic
#845FBD #BD5F69 #98BD5F #5FBDB3
square
#845FBD #BD5F69 #98BD5F #5FBDB3
split-complementary
#845FBD #BDB35F #69BD5F
monochromatic
#4A2F72 #66419E #845FBD #A58ACF #C7B6E1

Accessibility & contrast

On white

4.82
#845FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#845FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FBD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FBD#FFFFFF#000000##FFFFFF
##845FBD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#797085
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845fbd;
/* rgb */ color: rgb(132, 95, 189);
/* oklch */ color: oklch(56.6% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#aa8dd1',
    500: '#845fbd',
    950: '#000000',
  },
}
SCSS
$custom: #845fbd;
$custom-light: #aa8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#845fbd",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 263.617,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.14363,
    "h": 300
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#845FBD
secondary
#C0CFA8
accent
#D156A1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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