#845EBF#845EBF

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

Color values

HEX#845EBF
RGBrgb(132, 94, 191)
HSLhsl(264, 43%, 56%)
HSVhsv(264, 51%, 75%)
CMYKcmyk(30.9%, 50.8%, 0%, 25.1%)
CIE-LABlab(47.84, 36.02, -45.54)
CIE-LCHlch(47.84, 58.07, 308.35°)
OKLaboklab(56.53% 0.0734 -0.1283)
OKLCHoklch(56.53% 0.148 299.8)
XYZxyz(22.9202, 16.6724, 51.2907)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EBF #99BF5E
analogous
#5E68BF #845EBF #B45EBF
triadic
#845EBF #BF845E #5EBF84
tetradic
#845EBF #BF5E68 #99BF5E #5EBFB4
square
#845EBF #BF5E68 #99BF5E #5EBFB4
split-complementary
#845EBF #BFB45E #68BF5E
monochromatic
#4A2E74 #6540A0 #845EBF #A58AD0 #C7B6E2

Accessibility & contrast

On white

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

On black

4.33
#845EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##845EBF#FFFFFF#000000##FFFFFF
##845EBF1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#787086
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845ebf;
/* rgb */ color: rgb(132, 94, 191);
/* oklch */ color: oklch(56.5% 0.148 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab8cd3',
    500: '#845ebf',
    950: '#000000',
  },
}
SCSS
$custom: #845ebf;
$custom-light: #ab8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#845ebf",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 263.505,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.1478,
    "h": 299.8
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#845EBF
secondary
#C1D0A8
accent
#D355A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #845EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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