#845FDD#845FDD

#845FDD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.184 H 293.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#845FDD
RGBrgb(132, 95, 221)
HSLhsl(258, 65%, 62%)
HSVhsv(258, 57%, 87%)
CMYKcmyk(40.3%, 57%, 0%, 13.3%)
CIE-LABlab(49.87, 43.36, -59.47)
CIE-LCHlch(49.87, 73.60, 306.09°)
OKLaboklab(58.6% 0.0733 -0.1692)
OKLCHoklch(58.6% 0.184 293.4)
XYZxyz(26.6556, 18.3097, 70.5223)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FDD #B8DD5F
analogous
#5F79DD #845FDD #C35FDD
triadic
#845FDD #DD845F #5FDD84
tetradic
#845FDD #DD5F79 #B8DD5F #5FDDC3
square
#845FDD #DD5F79 #B8DD5F #5FDDC3
split-complementary
#845FDD #DDC35F #79DD5F
monochromatic
#4722A0 #5D2DD2 #845FDD #AB91E8 #D2C4F2

Accessibility & contrast

On white

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

On black

4.66
#845FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FDD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FDD#FFFFFF#000000##000000
##845FDD1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#6D7A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845fdd;
/* rgb */ color: rgb(132, 95, 221);
/* oklch */ color: oklch(58.6% 0.184 293.4);
Tailwind
colors: {
  custom: {
    50: '#ad8ee8',
    500: '#845fdd',
    950: '#000000',
  },
}
SCSS
$custom: #845fdd;
$custom-light: #ad8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#845fdd",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 257.619,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.18438,
    "h": 293.4
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#845FDD
secondary
#D5E3B5
accent
#CD1998
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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