#845FDF#845FDF

#845FDF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.187 H 293.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845FDF
RGBrgb(132, 95, 223)
HSLhsl(257, 67%, 62%)
HSVhsv(257, 57%, 87%)
CMYKcmyk(40.8%, 57.4%, 0%, 12.5%)
CIE-LABlab(50.00, 43.90, -60.40)
CIE-LCHlch(50.00, 74.67, 306.01°)
OKLaboklab(58.74% 0.0733 -0.1719)
OKLCHoklch(58.74% 0.187 293.1)
XYZxyz(26.9236, 18.4170, 71.9340)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FDF #BADF5F
analogous
#5F7ADF #845FDF #C45FDF
triadic
#845FDF #DF845F #5FDF84
tetradic
#845FDF #DF5F7A #BADF5F #5FDFC4
square
#845FDF #DF5F7A #BADF5F #5FDFC4
split-complementary
#845FDF #DFC45F #7ADF5F
monochromatic
#4621A3 #5D2CD5 #845FDF #AB92E9 #D2C5F3

Accessibility & contrast

On white

4.48
#845FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#845FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FDF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FDF#FFFFFF#000000##000000
##845FDF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#2175DC
Tritanopia (blue-blind)
#6C7B96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845fdf;
/* rgb */ color: rgb(132, 95, 223);
/* oklch */ color: oklch(58.7% 0.187 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad8eea',
    500: '#845fdf',
    950: '#000000',
  },
}
SCSS
$custom: #845fdf;
$custom-light: #ad8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#845fdf",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 257.344,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.18688,
    "h": 293.1
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#845FDF
secondary
#D7E4B6
accent
#CF1799
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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