#845FEF#845FEF

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

Color values

HEX#845FEF
RGBrgb(132, 95, 239)
HSLhsl(255, 82%, 65%)
HSVhsv(255, 60%, 94%)
CMYKcmyk(44.8%, 60.3%, 0%, 6.3%)
CIE-LABlab(51.06, 48.26, -67.69)
CIE-LCHlch(51.06, 83.13, 305.49°)
OKLaboklab(59.86% 0.0728 -0.1933)
OKLCHoklch(59.86% 0.207 290.6)
XYZxyz(29.1835, 19.3209, 83.8363)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FEF #CAEF5F
analogous
#5F82EF #845FEF #CC5FEF
triadic
#845FEF #EF845F #5FEF84
tetradic
#845FEF #EF5F82 #CAEF5F #5FEFCC
square
#845FEF #EF5F82 #CAEF5F #5FEFCC
split-complementary
#845FEF #EFCC5F #82EF5F
monochromatic
#4013C0 #5927E9 #845FEF #AF97F5 #DACEFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845FEF#FFFFFF#000000##000000
##845FEF1.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)
#007CF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#64809E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845fef;
/* rgb */ color: rgb(132, 95, 239);
/* oklch */ color: oklch(59.9% 0.207 290.6);
Tailwind
colors: {
  custom: {
    50: '#af8ef5',
    500: '#845fef',
    950: '#000000',
  },
}
SCSS
$custom: #845fef;
$custom-light: #af8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#845fef",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 255.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.20658,
    "h": 290.6
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#845FEF
secondary
#E1EDBD
accent
#DE07A7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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