#845AED#845AED

#845AED is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.211 H 291.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#845AED
RGBrgb(132, 90, 237)
HSLhsl(257, 80%, 64%)
HSVhsv(257, 62%, 93%)
CMYKcmyk(44.3%, 62%, 0%, 7.1%)
CIE-LABlab(49.90, 50.45, -68.46)
CIE-LCHlch(49.90, 85.04, 306.39°)
OKLaboklab(58.96% 0.0782 -0.1956)
OKLCHoklch(58.96% 0.211 291.8)
XYZxyz(28.4537, 18.3314, 82.1435)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AED #C3ED5A
analogous
#5A7AED #845AED #CE5AED
triadic
#845AED #ED845A #5AED84
tetradic
#845AED #ED5A7A #C3ED5A #5AEDCE
square
#845AED #ED5A7A #C3ED5A #5AEDCE
split-complementary
#845AED #EDCE5A #7AED5A
monochromatic
#4314B8 #5B23E7 #845AED #AD91F3 #D6C8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845AED#FFFFFF#000000##000000
##845AED1.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)
#0079F2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#657C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845aed;
/* rgb */ color: rgb(132, 90, 237);
/* oklch */ color: oklch(59.0% 0.211 291.8);
Tailwind
colors: {
  custom: {
    50: '#af8bf4',
    500: '#845aed',
    950: '#000000',
  },
}
SCSS
$custom: #845aed;
$custom-light: #af8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#845aed",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 257.143,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.21066,
    "h": 291.8
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#845AED
secondary
#DCEBB8
accent
#DD09A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AED

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

Preview Lab → · Contrast checker → · Palette generator →

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