#845DFA#845DFA

#845DFA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.222 H 289.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#845DFA
RGBrgb(132, 93, 250)
HSLhsl(255, 94%, 67%)
HSVhsv(255, 63%, 98%)
CMYKcmyk(47.2%, 62.8%, 0%, 2%)
CIE-LABlab(51.42, 52.37, -73.24)
CIE-LCHlch(51.42, 90.04, 305.57°)
OKLaboklab(60.36% 0.0741 -0.2097)
OKLCHoklch(60.36% 0.222 289.5)
XYZxyz(30.6805, 19.6351, 92.5973)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DFA #D3FA5D
analogous
#5D85FA #845DFA #D25DFA
triadic
#845DFA #FA845D #5DFA84
tetradic
#845DFA #FA5D85 #D3FA5D #5DFAD2
square
#845DFA #FA5D85 #D3FA5D #5DFAD2
split-complementary
#845DFA #FAD25D #85FA5D
monochromatic
#3A07D6 #5722F8 #845DFA #B198FC #DED4FE

Accessibility & contrast

On white

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

On black

4.93
#845DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DFA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DFA#FFFFFF#000000##000000
##845DFA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F7
Tritanopia (blue-blind)
#5D82A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #845dfa;
/* rgb */ color: rgb(132, 93, 250);
/* oklch */ color: oklch(60.4% 0.222 289.5);
Tailwind
colors: {
  custom: {
    50: '#b08dfd',
    500: '#845dfa',
    950: '#000000',
  },
}
SCSS
$custom: #845dfa;
$custom-light: #b08dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#845dfa",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 254.904,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60362,
    "c": 0.22236,
    "h": 289.5
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#845DFA
secondary
#E6F2C1
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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