#845FDB#845FDB

#845FDB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.182 H 293.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845FDB
RGBrgb(132, 95, 219)
HSLhsl(258, 63%, 62%)
HSVhsv(258, 57%, 86%)
CMYKcmyk(39.7%, 56.6%, 0%, 14.1%)
CIE-LABlab(49.74, 42.82, -58.54)
CIE-LCHlch(49.74, 72.53, 306.18°)
OKLaboklab(58.47% 0.0733 -0.1664)
OKLCHoklch(58.47% 0.182 293.8)
XYZxyz(26.3907, 18.2038, 69.1273)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FDB #B6DB5F
analogous
#5F78DB #845FDB #C25FDB
triadic
#845FDB #DB845F #5FDB84
tetradic
#845FDB #DB5F78 #B6DB5F #5FDBC2
square
#845FDB #DB5F78 #B6DB5F #5FDBC2
split-complementary
#845FDB #DBC25F #78DB5F
monochromatic
#47239C #5E2ECE #845FDB #AA91E6 #D1C3F1

Accessibility & contrast

On white

4.53
#845FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#845FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FDB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FDB#FFFFFF#000000##000000
##845FDB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#6D7A94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845fdb;
/* rgb */ color: rgb(132, 95, 219);
/* oklch */ color: oklch(58.5% 0.182 293.8);
Tailwind
colors: {
  custom: {
    50: '#ad8ee7',
    500: '#845fdb',
    950: '#000000',
  },
}
SCSS
$custom: #845fdb;
$custom-light: #ad8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#845fdb",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 257.903,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.18188,
    "h": 293.8
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#845FDB
secondary
#D4E2B4
accent
#CB1A96
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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