#845AF4#845AF4

#845AF4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.219 H 290.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#845AF4
RGBrgb(132, 90, 244)
HSLhsl(256, 88%, 65%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(45.9%, 63.1%, 0%, 4.3%)
CIE-LABlab(50.39, 52.35, -71.57)
CIE-LCHlch(50.39, 88.67, 306.18°)
OKLaboklab(59.48% 0.0776 -0.2048)
OKLCHoklch(59.48% 0.219 290.8)
XYZxyz(29.4964, 18.7484, 87.6351)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AF4 #CAF45A
analogous
#5A7DF4 #845AF4 #D15AF4
triadic
#845AF4 #F4845A #5AF484
tetradic
#845AF4 #F45A7D #CAF45A #5AF4D1
square
#845AF4 #F45A7D #CAF45A #5AF4D1
split-complementary
#845AF4 #F4D15A #7DF45A
monochromatic
#400DC6 #5921F0 #845AF4 #AF93F8 #DACDFC

Accessibility & contrast

On white

4.42
#845AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#845AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AF4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AF4#FFFFFF#000000##000000
##845AF41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#617F9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845af4;
/* rgb */ color: rgb(132, 90, 244);
/* oklch */ color: oklch(59.5% 0.219 290.8);
Tailwind
colors: {
  custom: {
    50: '#b08bf9',
    500: '#845af4',
    950: '#000000',
  },
}
SCSS
$custom: #845af4;
$custom-light: #b08bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#845af4",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 256.364,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.21897,
    "h": 290.8
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#845AF4
secondary
#E1EFBB
accent
#E401A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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