#845BDA#845BDA

#845BDA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.186 H 294.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845BDA
RGBrgb(132, 91, 218)
HSLhsl(259, 63%, 61%)
HSVhsv(259, 58%, 85%)
CMYKcmyk(39.4%, 58.3%, 0%, 14.5%)
CIE-LABlab(48.82, 44.79, -59.46)
CIE-LCHlch(48.82, 74.44, 306.99°)
OKLaboklab(57.77% 0.078 -0.1691)
OKLCHoklch(57.77% 0.186 294.8)
XYZxyz(25.9084, 17.4491, 68.3191)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BDA #B1DA5B
analogous
#5B71DA #845BDA #C35BDA
triadic
#845BDA #DA845B #5BDA84
tetradic
#845BDA #DA5B71 #B1DA5B #5BDAC3
square
#845BDA #DA5B71 #B1DA5B #5BDAC3
split-complementary
#845BDA #DAC35B #71DA5B
monochromatic
#482298 #602ECA #845BDA #A98DE5 #CFBFF1

Accessibility & contrast

On white

4.68
#845BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#845BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BDA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BDA#FFFFFF#000000##FFFFFF
##845BDA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0575DE
Deuteranopia (green-blind)
#2172D7
Tritanopia (blue-blind)
#6E7692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845bda;
/* rgb */ color: rgb(132, 91, 218);
/* oklch */ color: oklch(57.8% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#ad8be6',
    500: '#845bda',
    950: '#000000',
  },
}
SCSS
$custom: #845bda;
$custom-light: #ad8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#845bda",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 259.37,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.18628,
    "h": 294.8
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#845BDA
secondary
#D1E1B0
accent
#CB1B92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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