#845DFD#845DFD

#845DFD is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.226 H 289.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#845DFD
RGBrgb(132, 93, 253)
HSLhsl(255, 98%, 68%)
HSVhsv(255, 63%, 99%)
CMYKcmyk(47.8%, 63.2%, 0%, 0.8%)
CIE-LABlab(51.64, 53.20, -74.56)
CIE-LCHlch(51.64, 91.59, 305.51°)
OKLaboklab(60.59% 0.0738 -0.2135)
OKLCHoklch(60.59% 0.226 289.1)
XYZxyz(31.1546, 19.8248, 95.0945)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DFD #D6FD5D
analogous
#5D86FD #845DFD #D45DFD
triadic
#845DFD #FD845D #5DFD84
tetradic
#845DFD #FD5D86 #D6FD5D #5DFDD4
square
#845DFD #FD5D86 #D6FD5D #5DFDD4
split-complementary
#845DFD #FDD45D #86FD5D
monochromatic
#3803DD #5621FC #845DFD #B299FE #E0D6FE

Accessibility & contrast

On white

4.23
#845DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#845DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DFD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DFD#FFFFFF#000000##000000
##845DFD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#5B83A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #845dfd;
/* rgb */ color: rgb(132, 93, 253);
/* oklch */ color: oklch(60.6% 0.226 289.1);
Tailwind
colors: {
  custom: {
    50: '#b08dff',
    500: '#845dfd',
    950: '#000000',
  },
}
SCSS
$custom: #845dfd;
$custom-light: #b08dff;
$custom-dark: #000000;
JSON
{
  "hex": "#845dfd",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 254.625,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.22591,
    "h": 289.1
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#845DFD
secondary
#E8F4C2
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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