#845FDA#845FDA

#845FDA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.181 H 293.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#845FDA
RGBrgb(132, 95, 218)
HSLhsl(258, 62%, 61%)
HSVhsv(258, 56%, 85%)
CMYKcmyk(39.4%, 56.4%, 0%, 14.5%)
CIE-LABlab(49.68, 42.55, -58.08)
CIE-LCHlch(49.68, 72.00, 306.23°)
OKLaboklab(58.4% 0.0733 -0.1651)
OKLCHoklch(58.4% 0.181 293.9)
XYZxyz(26.2595, 18.1513, 68.4361)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FDA #B5DA5F
analogous
#5F78DA #845FDA #C25FDA
triadic
#845FDA #DA845F #5FDA84
tetradic
#845FDA #DA5F78 #B5DA5F #5FDAC2
square
#845FDA #DA5F78 #B5DA5F #5FDAC2
split-complementary
#845FDA #DAC25F #78DA5F
monochromatic
#48249B #5F2FCD #845FDA #AA91E5 #D0C2F1

Accessibility & contrast

On white

4.54
#845FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#845FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FDA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FDA#FFFFFF#000000##000000
##845FDA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D77DE
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#6E7993
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845fda;
/* rgb */ color: rgb(132, 95, 218);
/* oklch */ color: oklch(58.4% 0.181 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad8ee6',
    500: '#845fda',
    950: '#000000',
  },
}
SCSS
$custom: #845fda;
$custom-light: #ad8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#845fda",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 258.049,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.18063,
    "h": 293.9
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#845FDA
secondary
#D4E1B3
accent
#CA1B96
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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