#845DE8#845DE8

#845DE8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.201 H 292.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#845DE8
RGBrgb(132, 93, 232)
HSLhsl(257, 75%, 64%)
HSVhsv(257, 60%, 91%)
CMYKcmyk(43.1%, 59.9%, 0%, 9%)
CIE-LABlab(50.17, 47.45, -65.20)
CIE-LCHlch(50.17, 80.64, 306.05°)
OKLaboklab(59.05% 0.0753 -0.186)
OKLCHoklch(59.05% 0.201 292)
XYZxyz(27.9916, 18.5596, 78.4358)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DE8 #C1E85D
analogous
#5D7BE8 #845DE8 #CA5DE8
triadic
#845DE8 #E8845D #5DE884
tetradic
#845DE8 #E85D7B #C1E85D #5DE8CA
square
#845DE8 #E85D7B #C1E85D #5DE8CA
split-complementary
#845DE8 #E8CA5D #7BE85D
monochromatic
#4419B1 #5B27E0 #845DE8 #AD93F0 #D5C8F7

Accessibility & contrast

On white

4.46
#845DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#845DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DE8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DE8#FFFFFF#000000##000000
##845DE81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#687C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845de8;
/* rgb */ color: rgb(132, 93, 232);
/* oklch */ color: oklch(59.1% 0.201 292.0);
Tailwind
colors: {
  custom: {
    50: '#ae8cf0',
    500: '#845de8',
    950: '#000000',
  },
}
SCSS
$custom: #845de8;
$custom-light: #ae8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#845de8",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 256.835,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.20069,
    "h": 292
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#845DE8
secondary
#DBE9B8
accent
#D70E9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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