#845BDF#845BDF

#845BDF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.192 H 293.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#845BDF
RGBrgb(132, 91, 223)
HSLhsl(259, 67%, 62%)
HSVhsv(259, 59%, 87%)
CMYKcmyk(40.8%, 59.2%, 0%, 12.5%)
CIE-LABlab(49.15, 46.13, -61.77)
CIE-LCHlch(49.15, 77.09, 306.75°)
OKLaboklab(58.12% 0.0779 -0.1759)
OKLCHoklch(58.12% 0.192 293.9)
XYZxyz(26.5725, 17.7148, 71.8170)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BDF #B6DF5B
analogous
#5B74DF #845BDF #C65BDF
triadic
#845BDF #DF845B #5BDF84
tetradic
#845BDF #DF5B74 #B6DF5B #5BDFC6
square
#845BDF #DF5B74 #B6DF5B #5BDFC6
split-complementary
#845BDF #DFC65B #74DF5B
monochromatic
#471FA0 #5E29D4 #845BDF #AA8EE9 #D1C1F3

Accessibility & contrast

On white

4.62
#845BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#845BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845BDF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BDF#FFFFFF#000000##FFFFFF
##845BDF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1373DC
Tritanopia (blue-blind)
#6C7894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845bdf;
/* rgb */ color: rgb(132, 91, 223);
/* oklch */ color: oklch(58.1% 0.192 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad8bea',
    500: '#845bdf',
    950: '#000000',
  },
}
SCSS
$custom: #845bdf;
$custom-light: #ad8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#845bdf",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 258.636,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.19241,
    "h": 293.9
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#845BDF
secondary
#D4E3B2
accent
#CF1696
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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