#845BDD#845BDD

#845BDD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.190 H 294.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845BDD
RGBrgb(132, 91, 221)
HSLhsl(259, 66%, 61%)
HSVhsv(259, 59%, 87%)
CMYKcmyk(40.3%, 58.8%, 0%, 13.3%)
CIE-LABlab(49.02, 45.59, -60.85)
CIE-LCHlch(49.02, 76.04, 306.84°)
OKLaboklab(57.98% 0.078 -0.1732)
OKLCHoklch(57.98% 0.19 294.2)
XYZxyz(26.3045, 17.6075, 70.4053)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BDD #B4DD5B
analogous
#5B73DD #845BDD #C55BDD
triadic
#845BDD #DD845B #5BDD84
tetradic
#845BDD #DD5B73 #B4DD5B #5BDDC5
square
#845BDD #DD5B73 #B4DD5B #5BDDC5
split-complementary
#845BDD #DDC55B #73DD5B
monochromatic
#48219D #5F2BD0 #845BDD #AA8EE8 #D0C0F2

Accessibility & contrast

On white

4.64
#845BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#845BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845BDD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BDD#FFFFFF#000000##FFFFFF
##845BDD1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#6D7793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845bdd;
/* rgb */ color: rgb(132, 91, 221);
/* oklch */ color: oklch(58.0% 0.190 294.2);
Tailwind
colors: {
  custom: {
    50: '#ad8be8',
    500: '#845bdd',
    950: '#000000',
  },
}
SCSS
$custom: #845bdd;
$custom-light: #ad8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#845bdd",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 258.923,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57978,
    "c": 0.18996,
    "h": 294.2
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#845BDD
secondary
#D3E2B1
accent
#CE1894
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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