#845DE4#845DE4

#845DE4 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.196 H 292.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#845DE4
RGBrgb(132, 93, 228)
HSLhsl(257, 71%, 63%)
HSVhsv(257, 59%, 89%)
CMYKcmyk(42.1%, 59.2%, 0%, 10.6%)
CIE-LABlab(49.90, 46.37, -63.38)
CIE-LCHlch(49.90, 78.53, 306.19°)
OKLaboklab(58.77% 0.0755 -0.1807)
OKLCHoklch(58.77% 0.196 292.7)
XYZxyz(27.4299, 18.3349, 75.4775)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DE4 #BDE45D
analogous
#5D79E4 #845DE4 #C75DE4
triadic
#845DE4 #E4845D #5DE484
tetradic
#845DE4 #E45D79 #BDE45D #5DE4C7
square
#845DE4 #E45D79 #BDE45D #5DE4C7
split-complementary
#845DE4 #E4C75D #79E45D
monochromatic
#451CAA #5C29DB #845DE4 #AC91ED #D4C6F5

Accessibility & contrast

On white

4.50
#845DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#845DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DE4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DE4#FFFFFF#000000##000000
##845DE41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0774E1
Tritanopia (blue-blind)
#697B98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845de4;
/* rgb */ color: rgb(132, 93, 228);
/* oklch */ color: oklch(58.8% 0.196 292.7);
Tailwind
colors: {
  custom: {
    50: '#ae8ced',
    500: '#845de4',
    950: '#000000',
  },
}
SCSS
$custom: #845de4;
$custom-light: #ae8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#845de4",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 257.333,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.1958,
    "h": 292.7
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#845DE4
secondary
#D9E7B6
accent
#D3129C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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