#845CF7#845CF7

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

Color values

HEX#845CF7
RGBrgb(132, 92, 247)
HSLhsl(255, 91%, 66%)
HSVhsv(255, 63%, 97%)
CMYKcmyk(46.6%, 62.8%, 0%, 3.1%)
CIE-LABlab(51.01, 52.09, -72.25)
CIE-LCHlch(51.01, 89.07, 305.79°)
OKLaboklab(59.99% 0.0753 -0.2067)
OKLCHoklch(59.99% 0.22 290)
XYZxyz(30.1266, 19.2741, 90.1106)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF7 #CFF75C
analogous
#5C82F7 #845CF7 #D25CF7
triadic
#845CF7 #F7845C #5CF784
tetradic
#845CF7 #F75C82 #CFF75C #5CF7D2
square
#845CF7 #F75C82 #CFF75C #5CF7D2
split-complementary
#845CF7 #F7D25C #82F75C
monochromatic
#3D0ACE #5822F4 #845CF7 #B096FA #DCD1FD

Accessibility & contrast

On white

4.33
#845CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##845CF7#FFFFFF#000000##000000
##845CF71.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#5F81A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845cf7;
/* rgb */ color: rgb(132, 92, 247);
/* oklch */ color: oklch(60.0% 0.220 290.0);
Tailwind
colors: {
  custom: {
    50: '#b08cfb',
    500: '#845cf7',
    950: '#000000',
  },
}
SCSS
$custom: #845cf7;
$custom-light: #b08cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf7",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 255.484,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.22003,
    "h": 290
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#845CF7
secondary
#E4F1BE
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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