#845FBB#845FBB

#845FBB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.141 H 300.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#845FBB
RGBrgb(132, 95, 187)
HSLhsl(264, 40%, 55%)
HSVhsv(264, 49%, 73%)
CMYKcmyk(29.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(47.85, 34.43, -43.21)
CIE-LCHlch(47.85, 55.25, 308.55°)
OKLaboklab(56.46% 0.0716 -0.1215)
OKLCHoklch(56.46% 0.141 300.5)
XYZxyz(22.5755, 16.6777, 49.0338)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FBB #96BB5F
analogous
#5F68BB #845FBB #B25FBB
triadic
#845FBB #BB845F #5FBB84
tetradic
#845FBB #BB5F68 #96BB5F #5FBBB2
square
#845FBB #BB5F68 #96BB5F #5FBBB2
split-complementary
#845FBB #BBB25F #68BB5F
monochromatic
#493070 #66429B #845FBB #A58ACD #C6B5E0

Accessibility & contrast

On white

4.84
#845FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#845FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FBB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FBB#FFFFFF#000000##FFFFFF
##845FBB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#797084
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845fbb;
/* rgb */ color: rgb(132, 95, 187);
/* oklch */ color: oklch(56.5% 0.141 300.5);
Tailwind
colors: {
  custom: {
    50: '#aa8dd0',
    500: '#845fbb',
    950: '#000000',
  },
}
SCSS
$custom: #845fbb;
$custom-light: #aa8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#845fbb",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 264.13,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.14104,
    "h": 300.5
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#845FBB
secondary
#BFCEA8
accent
#D058A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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