#845EEE#845EEE

#845EEE is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.207 H 291.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#845EEE
RGBrgb(132, 94, 238)
HSLhsl(256, 81%, 65%)
HSVhsv(256, 61%, 93%)
CMYKcmyk(44.5%, 60.5%, 0%, 6.7%)
CIE-LABlab(50.78, 48.54, -67.58)
CIE-LCHlch(50.78, 83.20, 305.69°)
OKLaboklab(59.63% 0.0739 -0.193)
OKLCHoklch(59.63% 0.207 291)
XYZxyz(28.9467, 19.0830, 83.0306)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EEE #C8EE5E
analogous
#5E80EE #845EEE #CC5EEE
triadic
#845EEE #EE845E #5EEE84
tetradic
#845EEE #EE5E80 #C8EE5E #5EEECC
square
#845EEE #EE5E80 #C8EE5E #5EEECC
split-complementary
#845EEE #EECC5E #80EE5E
monochromatic
#4114BE #5A27E8 #845EEE #AE95F4 #D9CDFA

Accessibility & contrast

On white

4.36
#845EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#845EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EEE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EEE#FFFFFF#000000##000000
##845EEE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#647F9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845eee;
/* rgb */ color: rgb(132, 94, 238);
/* oklch */ color: oklch(59.6% 0.207 291.0);
Tailwind
colors: {
  custom: {
    50: '#af8df4',
    500: '#845eee',
    950: '#000000',
  },
}
SCSS
$custom: #845eee;
$custom-light: #af8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#845eee",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 255.833,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.20668,
    "h": 291
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#845EEE
secondary
#DFECBB
accent
#DD08A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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