#845BD3#845BD3

#845BD3 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.178 H 296.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#845BD3
RGBrgb(132, 91, 211)
HSLhsl(261, 58%, 59%)
HSVhsv(261, 57%, 83%)
CMYKcmyk(37.4%, 56.9%, 0%, 17.3%)
CIE-LABlab(48.37, 42.94, -56.19)
CIE-LCHlch(48.37, 70.72, 307.38°)
OKLaboklab(57.3% 0.0781 -0.1595)
OKLCHoklch(57.3% 0.178 296.1)
XYZxyz(25.0117, 17.0904, 63.5964)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BD3 #AAD35B
analogous
#5B6ED3 #845BD3 #C05BD3
triadic
#845BD3 #D3845B #5BD384
tetradic
#845BD3 #D35B6E #AAD35B #5BD3C0
square
#845BD3 #D35B6E #AAD35B #5BD3C0
split-complementary
#845BD3 #D3C05B #6ED35B
monochromatic
#49268E #6233BE #845BD3 #A88BE0 #CCBCED

Accessibility & contrast

On white

4.75
#845BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#845BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BD3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BD3#FFFFFF#000000##FFFFFF
##845BD31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C74D7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#71748E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #845bd3;
/* rgb */ color: rgb(132, 91, 211);
/* oklch */ color: oklch(57.3% 0.178 296.1);
Tailwind
colors: {
  custom: {
    50: '#ac8be1',
    500: '#845bd3',
    950: '#000000',
  },
}
SCSS
$custom: #845bd3;
$custom-light: #ac8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#845bd3",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 260.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.17763,
    "h": 296.1
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#845BD3
secondary
#CCDCAD
accent
#E147AC
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #845BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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