#845CD9#845CD9

#845CD9 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.184 H 294.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#845CD9
RGBrgb(132, 92, 217)
HSLhsl(259, 62%, 61%)
HSVhsv(259, 58%, 85%)
CMYKcmyk(39.2%, 57.6%, 0%, 14.9%)
CIE-LABlab(48.97, 43.97, -58.65)
CIE-LCHlch(48.97, 73.30, 306.86°)
OKLaboklab(57.86% 0.0769 -0.1668)
OKLCHoklch(57.86% 0.184 294.7)
XYZxyz(25.8640, 17.5690, 67.6607)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD9 #B1D95C
analogous
#5C72D9 #845CD9 #C25CD9
triadic
#845CD9 #D9845C #5CD984
tetradic
#845CD9 #D95C72 #B1D95C #5CD9C2
square
#845CD9 #D95C72 #B1D95C #5CD9C2
split-complementary
#845CD9 #D9C25C #72D95C
monochromatic
#482397 #602FC9 #845CD9 #A98EE5 #CFBFF0

Accessibility & contrast

On white

4.65
#845CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#845CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CD9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD9#FFFFFF#000000##FFFFFF
##845CD91.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1175DD
Deuteranopia (green-blind)
#2572D6
Tritanopia (blue-blind)
#6E7792
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845cd9;
/* rgb */ color: rgb(132, 92, 217);
/* oklch */ color: oklch(57.9% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#ad8be5',
    500: '#845cd9',
    950: '#000000',
  },
}
SCSS
$custom: #845cd9;
$custom-light: #ad8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd9",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 259.2,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.18363,
    "h": 294.7
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#845CD9
secondary
#D1E0B1
accent
#CA1C92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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