#845DF8#845DF8

#845DF8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.220 H 289.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#845DF8
RGBrgb(132, 93, 248)
HSLhsl(255, 92%, 67%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(46.8%, 62.5%, 0%, 2.7%)
CIE-LABlab(51.28, 51.82, -72.36)
CIE-LCHlch(51.28, 89.00, 305.61°)
OKLaboklab(60.21% 0.0742 -0.2071)
OKLCHoklch(60.21% 0.22 289.7)
XYZxyz(30.3685, 19.5104, 90.9545)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DF8 #D1F85D
analogous
#5D84F8 #845DF8 #D25DF8
triadic
#845DF8 #F8845D #5DF884
tetradic
#845DF8 #F85D84 #D1F85D #5DF8D2
square
#845DF8 #F85D84 #D1F85D #5DF8D2
split-complementary
#845DF8 #F8D25D #84F85D
monochromatic
#3C09D2 #5722F5 #845DF8 #B198FB #DDD2FD

Accessibility & contrast

On white

4.28
#845DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#845DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DF8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DF8#FFFFFF#000000##000000
##845DF81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#5F82A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845df8;
/* rgb */ color: rgb(132, 93, 248);
/* oklch */ color: oklch(60.2% 0.220 289.7);
Tailwind
colors: {
  custom: {
    50: '#b08dfc',
    500: '#845df8',
    950: '#000000',
  },
}
SCSS
$custom: #845df8;
$custom-light: #b08dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#845df8",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 255.097,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.21998,
    "h": 289.7
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#845DF8
secondary
#E5F1C0
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #845DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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