#845FBE#845FBE

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

Color values

HEX#845FBE
RGBrgb(132, 95, 190)
HSLhsl(263, 42%, 56%)
HSVhsv(263, 50%, 75%)
CMYKcmyk(30.5%, 50%, 0%, 25.5%)
CIE-LABlab(48.02, 35.19, -44.69)
CIE-LCHlch(48.02, 56.88, 308.22°)
OKLaboklab(56.64% 0.0719 -0.1258)
OKLCHoklch(56.64% 0.145 299.8)
XYZxyz(22.9000, 16.8075, 50.7429)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FBE #99BE5F
analogous
#5F69BE #845FBE #B35FBE
triadic
#845FBE #BE845F #5FBE84
tetradic
#845FBE #BE5F69 #99BE5F #5FBEB3
square
#845FBE #BE5F69 #99BE5F #5FBEB3
split-complementary
#845FBE #BEB35F #69BE5F
monochromatic
#4A2F74 #65419F #845FBE #A58BD0 #C7B6E1

Accessibility & contrast

On white

4.81
#845FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#845FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FBE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FBE#FFFFFF#000000##FFFFFF
##845FBE1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#787186
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845fbe;
/* rgb */ color: rgb(132, 95, 190);
/* oklch */ color: oklch(56.6% 0.145 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa8dd2',
    500: '#845fbe',
    950: '#000000',
  },
}
SCSS
$custom: #845fbe;
$custom-light: #aa8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#845fbe",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 263.368,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.14493,
    "h": 299.8
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#845FBE
secondary
#C1D0A9
accent
#D256A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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