#845FF4#845FF4

#845FF4 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.213 H 289.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#845FF4
RGBrgb(132, 95, 244)
HSLhsl(255, 87%, 66%)
HSVhsv(255, 61%, 96%)
CMYKcmyk(45.9%, 61.1%, 0%, 4.3%)
CIE-LABlab(51.41, 49.64, -69.92)
CIE-LCHlch(51.41, 85.75, 305.37°)
OKLaboklab(60.22% 0.0725 -0.1999)
OKLCHoklch(60.22% 0.213 289.9)
XYZxyz(29.9324, 19.6205, 87.7804)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FF4 #CFF45F
analogous
#5F85F4 #845FF4 #CE5FF4
triadic
#845FF4 #F4845F #5FF484
tetradic
#845FF4 #F45F85 #CFF45F #5FF4CE
square
#845FF4 #F45F85 #CFF45F #5FF4CE
split-complementary
#845FF4 #F4CE5F #85F45F
monochromatic
#3D0ECB #5826F0 #845FF4 #B098F8 #DCD2FC

Accessibility & contrast

On white

4.26
#845FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#845FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FF4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FF4#FFFFFF#000000##000000
##845FF41.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#6182A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845ff4;
/* rgb */ color: rgb(132, 95, 244);
/* oklch */ color: oklch(60.2% 0.213 289.9);
Tailwind
colors: {
  custom: {
    50: '#af8ef9',
    500: '#845ff4',
    950: '#000000',
  },
}
SCSS
$custom: #845ff4;
$custom-light: #af8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#845ff4",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 254.899,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.21266,
    "h": 289.9
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#845FF4
secondary
#E4F0BF
accent
#E402AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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