#845BEB#845BEB

#845BEB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.207 H 291.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845BEB
RGBrgb(132, 91, 235)
HSLhsl(257, 78%, 64%)
HSVhsv(257, 61%, 92%)
CMYKcmyk(43.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(49.96, 49.36, -67.23)
CIE-LCHlch(49.96, 83.40, 306.29°)
OKLaboklab(58.97% 0.0773 -0.192)
OKLCHoklch(58.97% 0.207 291.9)
XYZxyz(28.2481, 18.3850, 80.6415)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BEB #C2EB5B
analogous
#5B7AEB #845BEB #CC5BEB
triadic
#845BEB #EB845B #5BEB84
tetradic
#845BEB #EB5B7A #C2EB5B #5BEBCC
square
#845BEB #EB5B7A #C2EB5B #5BEBCC
split-complementary
#845BEB #EBCC5B #7AEB5B
monochromatic
#4316B5 #5B24E4 #845BEB #AD92F2 #D6C8F8

Accessibility & contrast

On white

4.49
#845BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##845BEB#FFFFFF#000000##000000
##845BEB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#667C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845beb;
/* rgb */ color: rgb(132, 91, 235);
/* oklch */ color: oklch(59.0% 0.207 291.9);
Tailwind
colors: {
  custom: {
    50: '#af8bf2',
    500: '#845beb',
    950: '#000000',
  },
}
SCSS
$custom: #845beb;
$custom-light: #af8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#845beb",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 257.083,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.20696,
    "h": 291.9
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#845BEB
secondary
#DCEAB8
accent
#DB0B9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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