#845FF1#845FF1

#845FF1 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.209 H 290.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#845FF1
RGBrgb(132, 95, 241)
HSLhsl(255, 84%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(45.2%, 60.6%, 0%, 5.5%)
CIE-LABlab(51.20, 48.81, -68.59)
CIE-LCHlch(51.20, 84.18, 305.44°)
OKLaboklab(60% 0.0727 -0.196)
OKLCHoklch(60% 0.209 290.3)
XYZxyz(29.4806, 19.4398, 85.4010)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FF1 #CCF15F
analogous
#5F83F1 #845FF1 #CD5FF1
triadic
#845FF1 #F1845F #5FF184
tetradic
#845FF1 #F15F83 #CCF15F #5FF1CD
square
#845FF1 #F15F83 #CCF15F #5FF1CD
split-complementary
#845FF1 #F1CD5F #83F15F
monochromatic
#3F11C4 #5927EC #845FF1 #AF97F6 #DBD0FB

Accessibility & contrast

On white

4.30
#845FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#845FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FF1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FF1#FFFFFF#000000##000000
##845FF11.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#63819F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845ff1;
/* rgb */ color: rgb(132, 95, 241);
/* oklch */ color: oklch(60.0% 0.209 290.3);
Tailwind
colors: {
  custom: {
    50: '#af8ef7',
    500: '#845ff1',
    950: '#000000',
  },
}
SCSS
$custom: #845ff1;
$custom-light: #af8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#845ff1",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 255.205,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.20902,
    "h": 290.3
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#845FF1
secondary
#E2EEBE
accent
#E005A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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