#845BFE#845BFE

#845BFE is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.230 H 289.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#845BFE
RGBrgb(132, 91, 254)
HSLhsl(255, 99%, 68%)
HSVhsv(255, 64%, 100%)
CMYKcmyk(48%, 64.2%, 0%, 0.4%)
CIE-LABlab(51.32, 54.54, -75.64)
CIE-LCHlch(51.32, 93.25, 305.80°)
OKLaboklab(60.38% 0.0756 -0.2167)
OKLCHoklch(60.38% 0.23 289.2)
XYZxyz(31.1411, 19.5422, 95.8779)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BFE #D5FE5B
analogous
#5B83FE #845BFE #D55BFE
triadic
#845BFE #FE845B #5BFE84
tetradic
#845BFE #FE5B83 #D5FE5B #5BFED5
square
#845BFE #FE5B83 #D5FE5B #5BFED5
split-complementary
#845BFE #FED55B #83FE5B
monochromatic
#3901DD #561EFE #845BFE #B298FE #DFD5FF

Accessibility & contrast

On white

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

On black

4.91
#845BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BFE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BFE#FFFFFF#000000##000000
##845BFE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#5B83A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845bfe;
/* rgb */ color: rgb(132, 91, 254);
/* oklch */ color: oklch(60.4% 0.230 289.2);
Tailwind
colors: {
  custom: {
    50: '#b18cff',
    500: '#845bfe',
    950: '#000000',
  },
}
SCSS
$custom: #845bfe;
$custom-light: #b18cff;
$custom-dark: #000000;
JSON
{
  "hex": "#845bfe",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 255.092,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.22952,
    "h": 289.2
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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