#845AF6#845AF6

#845AF6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.221 H 290.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#845AF6
RGBrgb(132, 90, 246)
HSLhsl(256, 90%, 66%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(46.3%, 63.4%, 0%, 3.5%)
CIE-LABlab(50.54, 52.89, -72.45)
CIE-LCHlch(50.54, 89.70, 306.13°)
OKLaboklab(59.63% 0.0774 -0.2073)
OKLCHoklch(59.63% 0.221 290.5)
XYZxyz(29.8017, 18.8706, 89.2431)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AF6 #CCF65A
analogous
#5A7EF6 #845AF6 #D25AF6
triadic
#845AF6 #F6845A #5AF684
tetradic
#845AF6 #F65A7E #CCF65A #5AF6D2
square
#845AF6 #F65A7E #CCF65A #5AF6D2
split-complementary
#845AF6 #F6D25A #7EF65A
monochromatic
#3F0BCB #5920F3 #845AF6 #AF94F9 #DBCEFC

Accessibility & contrast

On white

4.40
#845AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#845AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AF6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AF6#FFFFFF#000000##000000
##845AF61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#607FA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845af6;
/* rgb */ color: rgb(132, 90, 246);
/* oklch */ color: oklch(59.6% 0.221 290.5);
Tailwind
colors: {
  custom: {
    50: '#b08bfa',
    500: '#845af6',
    950: '#000000',
  },
}
SCSS
$custom: #845af6;
$custom-light: #b08bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#845af6",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 256.154,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.22133,
    "h": 290.5
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#845AF6
secondary
#E2F0BC
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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