#845CD5#845CD5

#845CD5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.179 H 295.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#845CD5
RGBrgb(132, 92, 213)
HSLhsl(260, 59%, 60%)
HSVhsv(260, 57%, 84%)
CMYKcmyk(38%, 56.8%, 0%, 16.5%)
CIE-LABlab(48.71, 42.90, -56.79)
CIE-LCHlch(48.71, 71.17, 307.07°)
OKLaboklab(57.59% 0.0769 -0.1613)
OKLCHoklch(57.59% 0.179 295.5)
XYZxyz(25.3500, 17.3634, 64.9538)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD5 #ADD55C
analogous
#5C70D5 #845CD5 #C15CD5
triadic
#845CD5 #D5845C #5CD584
tetradic
#845CD5 #D55C70 #ADD55C #5CD5C1
square
#845CD5 #D55C70 #ADD55C #5CD5C1
split-complementary
#845CD5 #D5C15C #70D55C
monochromatic
#492591 #6232C2 #845CD5 #A98DE2 #CDBDEE

Accessibility & contrast

On white

4.70
#845CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#845CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845CD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD5#FFFFFF#000000##FFFFFF
##845CD51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#2C72D2
Tritanopia (blue-blind)
#707690
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845cd5;
/* rgb */ color: rgb(132, 92, 213);
/* oklch */ color: oklch(57.6% 0.179 295.5);
Tailwind
colors: {
  custom: {
    50: '#ac8be3',
    500: '#845cd5',
    950: '#000000',
  },
}
SCSS
$custom: #845cd5;
$custom-light: #ac8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd5",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 259.835,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.17867,
    "h": 295.5
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#845CD5
secondary
#CEDEAF
accent
#E246AE
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #845CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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