#845BED#845BED

#845BED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.209 H 291.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#845BED
RGBrgb(132, 91, 237)
HSLhsl(257, 80%, 64%)
HSVhsv(257, 62%, 93%)
CMYKcmyk(44.3%, 61.6%, 0%, 7.1%)
CIE-LABlab(50.10, 49.91, -68.13)
CIE-LCHlch(50.10, 84.45, 306.22°)
OKLaboklab(59.11% 0.0772 -0.1946)
OKLCHoklch(59.11% 0.209 291.6)
XYZxyz(28.5386, 18.5012, 82.1718)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BED #C4ED5B
analogous
#5B7BED #845BED #CD5BED
triadic
#845BED #ED845B #5BED84
tetradic
#845BED #ED5B7B #C4ED5B #5BEDCD
square
#845BED #ED5B7B #C4ED5B #5BEDCD
split-complementary
#845BED #EDCD5B #7BED5B
monochromatic
#4314B9 #5B24E7 #845BED #AD92F3 #D7C9F9

Accessibility & contrast

On white

4.47
#845BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#845BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BED#FFFFFF#000000##000000
##845BED1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#657D9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845bed;
/* rgb */ color: rgb(132, 91, 237);
/* oklch */ color: oklch(59.1% 0.209 291.6);
Tailwind
colors: {
  custom: {
    50: '#af8bf4',
    500: '#845bed',
    950: '#000000',
  },
}
SCSS
$custom: #845bed;
$custom-light: #af8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#845bed",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 256.849,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.20937,
    "h": 291.6
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#845BED
secondary
#DDEBB9
accent
#DD09A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845BED

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

Preview Lab → · Contrast checker → · Palette generator →

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