#845BFA#845BFA

#845BFA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.225 H 289.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#845BFA
RGBrgb(132, 91, 250)
HSLhsl(255, 94%, 67%)
HSVhsv(255, 64%, 98%)
CMYKcmyk(47.2%, 63.6%, 0%, 2%)
CIE-LABlab(51.02, 53.45, -73.89)
CIE-LCHlch(51.02, 91.19, 305.88°)
OKLaboklab(60.07% 0.076 -0.2116)
OKLCHoklch(60.07% 0.225 289.8)
XYZxyz(30.5072, 19.2886, 92.5396)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BFA #D1FA5B
analogous
#5B82FA #845BFA #D45BFA
triadic
#845BFA #FA845B #5BFA84
tetradic
#845BFA #FA5B82 #D1FA5B #5BFAD4
square
#845BFA #FA5B82 #D1FA5B #5BFAD4
split-complementary
#845BFA #FAD45B #82FA5B
monochromatic
#3C06D4 #5720F8 #845BFA #B196FC #DDD2FE

Accessibility & contrast

On white

4.32
#845BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#845BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BFA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BFA#FFFFFF#000000##000000
##845BFA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#5E81A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845bfa;
/* rgb */ color: rgb(132, 91, 250);
/* oklch */ color: oklch(60.1% 0.225 289.8);
Tailwind
colors: {
  custom: {
    50: '#b08cfd',
    500: '#845bfa',
    950: '#000000',
  },
}
SCSS
$custom: #845bfa;
$custom-light: #b08cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#845bfa",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 255.472,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.22482,
    "h": 289.8
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#845BFA
secondary
#E5F2BF
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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