#845CF8#845CF8

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

Color values

HEX#845CF8
RGBrgb(132, 92, 248)
HSLhsl(255, 92%, 67%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(46.8%, 62.9%, 0%, 2.7%)
CIE-LABlab(51.08, 52.36, -72.69)
CIE-LCHlch(51.08, 89.58, 305.77°)
OKLaboklab(60.07% 0.0752 -0.208)
OKLCHoklch(60.07% 0.221 289.9)
XYZxyz(30.2813, 19.3360, 90.9254)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF8 #D0F85C
analogous
#5C82F8 #845CF8 #D25CF8
triadic
#845CF8 #F8845C #5CF884
tetradic
#845CF8 #F85C82 #D0F85C #5CF8D2
square
#845CF8 #F85C82 #D0F85C #5CF8D2
split-complementary
#845CF8 #F8D25C #82F85C
monochromatic
#3C09D1 #5821F5 #845CF8 #B097FB #DDD1FD

Accessibility & contrast

On white

4.31
#845CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#845CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF8#FFFFFF#000000##000000
##845CF81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#5F81A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845cf8;
/* rgb */ color: rgb(132, 92, 248);
/* oklch */ color: oklch(60.1% 0.221 289.9);
Tailwind
colors: {
  custom: {
    50: '#b08cfc',
    500: '#845cf8',
    950: '#000000',
  },
}
SCSS
$custom: #845cf8;
$custom-light: #b08cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf8",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 255.385,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.22122,
    "h": 289.9
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#845CF8
secondary
#E4F1BF
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #845CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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