#845BD8#845BD8

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

Color values

HEX#845BD8
RGBrgb(132, 91, 216)
HSLhsl(260, 62%, 60%)
HSVhsv(260, 58%, 85%)
CMYKcmyk(38.9%, 57.9%, 0%, 15.3%)
CIE-LABlab(48.69, 44.26, -58.53)
CIE-LCHlch(48.69, 73.38, 307.10°)
OKLaboklab(57.64% 0.0781 -0.1664)
OKLCHoklch(57.64% 0.184 295.1)
XYZxyz(25.6482, 17.3450, 66.9490)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BD8 #AFD85B
analogous
#5B70D8 #845BD8 #C25BD8
triadic
#845BD8 #D8845B #5BD884
tetradic
#845BD8 #D85B70 #AFD85B #5BD8C2
square
#845BD8 #D85B70 #AFD85B #5BD8C2
split-complementary
#845BD8 #D8C25B #70D85B
monochromatic
#492395 #612FC7 #845BD8 #A98CE4 #CEBEF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845BD8#FFFFFF#000000##FFFFFF
##845BD81.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)
#0E75DC
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#6F7691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845bd8;
/* rgb */ color: rgb(132, 91, 216);
/* oklch */ color: oklch(57.6% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#ad8be5',
    500: '#845bd8',
    950: '#000000',
  },
}
SCSS
$custom: #845bd8;
$custom-light: #ad8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#845bd8",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 259.68,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.18381,
    "h": 295.1
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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