#845CD3#845CD3

#845CD3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.176 H 295.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#845CD3
RGBrgb(132, 92, 211)
HSLhsl(260, 57%, 59%)
HSVhsv(260, 56%, 83%)
CMYKcmyk(37.4%, 56.4%, 0%, 17.3%)
CIE-LABlab(48.59, 42.37, -55.85)
CIE-LCHlch(48.59, 70.10, 307.19°)
OKLaboklab(57.46% 0.0769 -0.1585)
OKLCHoklch(57.46% 0.176 295.9)
XYZxyz(25.0977, 17.2625, 63.6251)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD3 #ABD35C
analogous
#5C70D3 #845CD3 #C05CD3
triadic
#845CD3 #D3845C #5CD384
tetradic
#845CD3 #D35C70 #ABD35C #5CD3C0
square
#845CD3 #D35C70 #ABD35C #5CD3C0
split-complementary
#845CD3 #D3C05C #70D35C
monochromatic
#49268E #6233BE #845CD3 #A88CE0 #CDBCED

Accessibility & contrast

On white

4.72
#845CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#845CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845CD3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD3#FFFFFF#000000##FFFFFF
##845CD31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2074D7
Deuteranopia (green-blind)
#2F72D0
Tritanopia (blue-blind)
#71758F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #845cd3;
/* rgb */ color: rgb(132, 92, 211);
/* oklch */ color: oklch(57.5% 0.176 295.9);
Tailwind
colors: {
  custom: {
    50: '#ac8be1',
    500: '#845cd3',
    950: '#000000',
  },
}
SCSS
$custom: #845cd3;
$custom-light: #ac8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd3",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 260.168,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.17618,
    "h": 295.9
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#845CD3
secondary
#CDDDAE
accent
#E147AD
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #845CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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