#845CD8#845CD8

#845CD8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.182 H 294.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#845CD8
RGBrgb(132, 92, 216)
HSLhsl(259, 61%, 60%)
HSVhsv(259, 57%, 85%)
CMYKcmyk(38.9%, 57.4%, 0%, 15.3%)
CIE-LABlab(48.91, 43.70, -58.19)
CIE-LCHlch(48.91, 72.77, 306.91°)
OKLaboklab(57.79% 0.0769 -0.1654)
OKLCHoklch(57.79% 0.182 294.9)
XYZxyz(25.7343, 17.5171, 66.9777)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD8 #B0D85C
analogous
#5C72D8 #845CD8 #C25CD8
triadic
#845CD8 #D8845C #5CD884
tetradic
#845CD8 #D85C72 #B0D85C #5CD8C2
square
#845CD8 #D85C72 #B0D85C #5CD8C2
split-complementary
#845CD8 #D8C25C #72D85C
monochromatic
#492496 #6130C7 #845CD8 #A98DE4 #CFBFF0

Accessibility & contrast

On white

4.66
#845CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#845CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CD8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD8#FFFFFF#000000##FFFFFF
##845CD81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1475DC
Deuteranopia (green-blind)
#2772D5
Tritanopia (blue-blind)
#6F7791
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845cd8;
/* rgb */ color: rgb(132, 92, 216);
/* oklch */ color: oklch(57.8% 0.182 294.9);
Tailwind
colors: {
  custom: {
    50: '#ad8be5',
    500: '#845cd8',
    950: '#000000',
  },
}
SCSS
$custom: #845cd8;
$custom-light: #ad8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd8",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 259.355,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.18239,
    "h": 294.9
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#845CD8
secondary
#D0E0B0
accent
#C91C91
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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