#845DDF#845DDF

#845DDF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.190 H 293.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#845DDF
RGBrgb(132, 93, 223)
HSLhsl(258, 67%, 62%)
HSVhsv(258, 58%, 87%)
CMYKcmyk(40.8%, 58.3%, 0%, 12.5%)
CIE-LABlab(49.57, 45.02, -61.09)
CIE-LCHlch(49.57, 75.88, 306.39°)
OKLaboklab(58.43% 0.0756 -0.1739)
OKLCHoklch(58.43% 0.19 293.5)
XYZxyz(26.7458, 18.0613, 71.8747)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DDF #B8DF5D
analogous
#5D77DF #845DDF #C55DDF
triadic
#845DDF #DF845D #5DDF84
tetradic
#845DDF #DF5D77 #B8DF5D #5DDFC5
square
#845DDF #DF5D77 #B8DF5D #5DDFC5
split-complementary
#845DDF #DFC55D #77DF5D
monochromatic
#4720A2 #5D2AD5 #845DDF #AB90E9 #D2C3F3

Accessibility & contrast

On white

4.55
#845DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#845DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DDF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DDF#FFFFFF#000000##000000
##845DDF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#6C7995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845ddf;
/* rgb */ color: rgb(132, 93, 223);
/* oklch */ color: oklch(58.4% 0.190 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad8cea',
    500: '#845ddf',
    950: '#000000',
  },
}
SCSS
$custom: #845ddf;
$custom-light: #ad8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#845ddf",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 258,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.18965,
    "h": 293.5
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#845DDF
secondary
#D5E4B4
accent
#CF1798
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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