#845AF5#845AF5

#845AF5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.220 H 290.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#845AF5
RGBrgb(132, 90, 245)
HSLhsl(256, 89%, 66%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(46.1%, 63.3%, 0%, 3.9%)
CIE-LABlab(50.46, 52.62, -72.01)
CIE-LCHlch(50.46, 89.19, 306.16°)
OKLaboklab(59.55% 0.0775 -0.2061)
OKLCHoklch(59.55% 0.22 290.6)
XYZxyz(29.6487, 18.8093, 88.4369)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AF5 #CBF55A
analogous
#5A7DF5 #845AF5 #D15AF5
triadic
#845AF5 #F5845A #5AF584
tetradic
#845AF5 #F55A7D #CBF55A #5AF5D1
square
#845AF5 #F55A7D #CBF55A #5AF5D1
split-complementary
#845AF5 #F5D15A #7DF55A
monochromatic
#3F0CC8 #5920F2 #845AF5 #AF94F8 #DACDFC

Accessibility & contrast

On white

4.41
#845AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#845AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AF5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AF5#FFFFFF#000000##000000
##845AF51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#617FA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845af5;
/* rgb */ color: rgb(132, 90, 245);
/* oklch */ color: oklch(59.6% 0.220 290.6);
Tailwind
colors: {
  custom: {
    50: '#b08bf9',
    500: '#845af5',
    950: '#000000',
  },
}
SCSS
$custom: #845af5;
$custom-light: #b08bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#845af5",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 256.258,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.22016,
    "h": 290.6
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#845AF5
secondary
#E1EFBC
accent
#E500A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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