#845DF7#845DF7

#845DF7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.219 H 289.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#845DF7
RGBrgb(132, 93, 247)
HSLhsl(255, 91%, 67%)
HSVhsv(255, 62%, 97%)
CMYKcmyk(46.6%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.21, 51.55, -71.92)
CIE-LCHlch(51.21, 88.49, 305.63°)
OKLaboklab(60.14% 0.0743 -0.2058)
OKLCHoklch(60.14% 0.219 289.9)
XYZxyz(30.2138, 19.4485, 90.1396)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DF7 #D0F75D
analogous
#5D83F7 #845DF7 #D15DF7
triadic
#845DF7 #F7845D #5DF784
tetradic
#845DF7 #F75D83 #D0F75D #5DF7D1
square
#845DF7 #F75D83 #D0F75D #5DF7D1
split-complementary
#845DF7 #F7D15D #83F75D
monochromatic
#3C0ACF #5823F4 #845DF7 #B097FA #DDD2FD

Accessibility & contrast

On white

4.29
#845DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##845DF7#FFFFFF#000000##000000
##845DF71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#5F81A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845df7;
/* rgb */ color: rgb(132, 93, 247);
/* oklch */ color: oklch(60.1% 0.219 289.9);
Tailwind
colors: {
  custom: {
    50: '#b08dfb',
    500: '#845df7',
    950: '#000000',
  },
}
SCSS
$custom: #845df7;
$custom-light: #b08dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#845df7",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 255.195,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60139,
    "c": 0.21879,
    "h": 289.9
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#845DF7
secondary
#E4F1BF
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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