#845CD7#845CD7

#845CD7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.181 H 295.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#845CD7
RGBrgb(132, 92, 215)
HSLhsl(260, 61%, 60%)
HSVhsv(260, 57%, 84%)
CMYKcmyk(38.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(48.84, 43.44, -57.72)
CIE-LCHlch(48.84, 72.24, 306.96°)
OKLaboklab(57.73% 0.0769 -0.164)
OKLCHoklch(57.73% 0.181 295.1)
XYZxyz(25.6054, 17.4656, 66.2989)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD7 #AFD75C
analogous
#5C72D7 #845CD7 #C15CD7
triadic
#845CD7 #D7845C #5CD784
tetradic
#845CD7 #D75C72 #AFD75C #5CD7C1
square
#845CD7 #D75C72 #AFD75C #5CD7C1
split-complementary
#845CD7 #D7C15C #72D75C
monochromatic
#492494 #6130C5 #845CD7 #A98DE3 #CEBEEF

Accessibility & contrast

On white

4.67
#845CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #845CD7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD7#FFFFFF#000000##FFFFFF
##845CD71.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1775DB
Deuteranopia (green-blind)
#2972D4
Tritanopia (blue-blind)
#6F7691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845cd7;
/* rgb */ color: rgb(132, 92, 215);
/* oklch */ color: oklch(57.7% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#ad8be4',
    500: '#845cd7',
    950: '#000000',
  },
}
SCSS
$custom: #845cd7;
$custom-light: #ad8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd7",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 259.512,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.18115,
    "h": 295.1
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#845CD7
secondary
#D0DFB0
accent
#C81D91
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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