#845BD5#845BD5

#845BD5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.180 H 295.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#845BD5
RGBrgb(132, 91, 213)
HSLhsl(260, 59%, 60%)
HSVhsv(260, 57%, 84%)
CMYKcmyk(38%, 57.3%, 0%, 16.5%)
CIE-LABlab(48.50, 43.46, -57.13)
CIE-LCHlch(48.50, 71.78, 307.26°)
OKLaboklab(57.44% 0.0781 -0.1623)
OKLCHoklch(57.44% 0.18 295.7)
XYZxyz(25.2639, 17.1913, 64.9251)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BD5 #ACD55B
analogous
#5B6FD5 #845BD5 #C15BD5
triadic
#845BD5 #D5845B #5BD584
tetradic
#845BD5 #D55B6F #ACD55B #5BD5C1
square
#845BD5 #D55B6F #ACD55B #5BD5C1
split-complementary
#845BD5 #D5C15B #6FD55B
monochromatic
#492591 #6232C1 #845BD5 #A98CE1 #CDBCEE

Accessibility & contrast

On white

4.73
#845BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#845BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BD5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BD5#FFFFFF#000000##FFFFFF
##845BD51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1874D9
Deuteranopia (green-blind)
#2A71D2
Tritanopia (blue-blind)
#70758F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #845bd5;
/* rgb */ color: rgb(132, 91, 213);
/* oklch */ color: oklch(57.4% 0.180 295.7);
Tailwind
colors: {
  custom: {
    50: '#ac8be3',
    500: '#845bd5',
    950: '#000000',
  },
}
SCSS
$custom: #845bd5;
$custom-light: #ac8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#845bd5",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 260.164,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.18011,
    "h": 295.7
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#845BD5
secondary
#CEDEAE
accent
#E245AE
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #845BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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