#845EDF#845EDF

#845EDF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.188 H 293.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#845EDF
RGBrgb(132, 94, 223)
HSLhsl(258, 67%, 62%)
HSVhsv(258, 58%, 87%)
CMYKcmyk(40.8%, 57.8%, 0%, 12.5%)
CIE-LABlab(49.78, 44.46, -60.75)
CIE-LCHlch(49.78, 75.28, 306.20°)
OKLaboklab(58.58% 0.0745 -0.1729)
OKLCHoklch(58.58% 0.188 293.3)
XYZxyz(26.8341, 18.2380, 71.9042)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EDF #B9DF5E
analogous
#5E79DF #845EDF #C45EDF
triadic
#845EDF #DF845E #5EDF84
tetradic
#845EDF #DF5E79 #B9DF5E #5EDFC4
square
#845EDF #DF5E79 #B9DF5E #5EDFC4
split-complementary
#845EDF #DFC45E #79DF5E
monochromatic
#4720A2 #5D2BD5 #845EDF #AB91E9 #D2C4F3

Accessibility & contrast

On white

4.52
#845EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#845EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EDF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EDF#FFFFFF#000000##000000
##845EDF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0678E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#6C7A95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845edf;
/* rgb */ color: rgb(132, 94, 223);
/* oklch */ color: oklch(58.6% 0.188 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad8dea',
    500: '#845edf',
    950: '#000000',
  },
}
SCSS
$custom: #845edf;
$custom-light: #ad8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#845edf",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 257.674,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.18827,
    "h": 293.3
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#845EDF
secondary
#D6E4B5
accent
#CF1799
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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