#845FFD#845FFD

#845FFD is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.223 H 288.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#845FFD
RGBrgb(132, 95, 253)
HSLhsl(254, 98%, 68%)
HSVhsv(254, 62%, 99%)
CMYKcmyk(47.8%, 62.5%, 0%, 0.8%)
CIE-LABlab(52.04, 52.12, -73.90)
CIE-LCHlch(52.04, 90.43, 305.19°)
OKLaboklab(60.88% 0.0718 -0.2116)
OKLCHoklch(60.88% 0.223 288.7)
XYZxyz(31.3324, 20.1805, 95.1538)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FFD #D8FD5F
analogous
#5F89FD #845FFD #D35FFD
triadic
#845FFD #FD845F #5FFD84
tetradic
#845FFD #FD5F89 #D8FD5F #5FFDD3
square
#845FFD #FD5F89 #D8FD5F #5FFDD3
split-complementary
#845FFD #FDD35F #89FD5F
monochromatic
#3603DF #5623FC #845FFD #B29BFE #E1D8FF

Accessibility & contrast

On white

4.17
#845FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#845FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FFD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FFD#FFFFFF#000000##000000
##845FFD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#5B85A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #845ffd;
/* rgb */ color: rgb(132, 95, 253);
/* oklch */ color: oklch(60.9% 0.223 288.7);
Tailwind
colors: {
  custom: {
    50: '#b08eff',
    500: '#845ffd',
    950: '#000000',
  },
}
SCSS
$custom: #845ffd;
$custom-light: #b08eff;
$custom-dark: #000000;
JSON
{
  "hex": "#845ffd",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 254.051,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.22346,
    "h": 288.7
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#845FFD
secondary
#E9F4C4
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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