#845FDE#845FDE

#845FDE is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.186 H 293.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#845FDE
RGBrgb(132, 95, 222)
HSLhsl(257, 66%, 62%)
HSVhsv(257, 57%, 87%)
CMYKcmyk(40.5%, 57.2%, 0%, 12.9%)
CIE-LABlab(49.93, 43.63, -59.94)
CIE-LCHlch(49.93, 74.13, 306.05°)
OKLaboklab(58.67% 0.0733 -0.1705)
OKLCHoklch(58.67% 0.186 293.3)
XYZxyz(26.7892, 18.3632, 71.2261)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FDE #B9DE5F
analogous
#5F7ADE #845FDE #C35FDE
triadic
#845FDE #DE845F #5FDE84
tetradic
#845FDE #DE5F7A #B9DE5F #5FDEC3
square
#845FDE #DE5F7A #B9DE5F #5FDEC3
split-complementary
#845FDE #DEC35F #7ADE5F
monochromatic
#4721A1 #5D2CD4 #845FDE #AB92E8 #D2C4F3

Accessibility & contrast

On white

4.49
#845FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#845FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FDE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FDE#FFFFFF#000000##000000
##845FDE1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1278E2
Deuteranopia (green-blind)
#2374DB
Tritanopia (blue-blind)
#6C7A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845fde;
/* rgb */ color: rgb(132, 95, 222);
/* oklch */ color: oklch(58.7% 0.186 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad8ee9',
    500: '#845fde',
    950: '#000000',
  },
}
SCSS
$custom: #845fde;
$custom-light: #ad8ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#845fde",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 257.48,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.18563,
    "h": 293.3
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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