#845FF6#845FF6

#845FF6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.215 H 289.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#845FF6
RGBrgb(132, 95, 246)
HSLhsl(255, 89%, 67%)
HSVhsv(255, 61%, 96%)
CMYKcmyk(46.3%, 61.4%, 0%, 3.5%)
CIE-LABlab(51.54, 50.19, -70.81)
CIE-LCHlch(51.54, 86.80, 305.33°)
OKLaboklab(60.36% 0.0724 -0.2025)
OKLCHoklch(60.36% 0.215 289.7)
XYZxyz(30.2377, 19.7426, 89.3884)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FF6 #D1F65F
analogous
#5F86F6 #845FF6 #D05FF6
triadic
#845FF6 #F6845F #5FF684
tetradic
#845FF6 #F65F86 #D1F65F #5FF6D0
square
#845FF6 #F65F86 #D1F65F #5FF6D0
split-complementary
#845FF6 #F6D05F #86F65F
monochromatic
#3C0CCF #5725F3 #845FF6 #B199F9 #DDD3FD

Accessibility & contrast

On white

4.24
#845FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#845FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FF6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FF6#FFFFFF#000000##000000
##845FF61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#6082A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #845ff6;
/* rgb */ color: rgb(132, 95, 246);
/* oklch */ color: oklch(60.4% 0.215 289.7);
Tailwind
colors: {
  custom: {
    50: '#b08efa',
    500: '#845ff6',
    950: '#000000',
  },
}
SCSS
$custom: #845ff6;
$custom-light: #b08efa;
$custom-dark: #000000;
JSON
{
  "hex": "#845ff6",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 254.702,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.21506,
    "h": 289.7
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#845FF6
secondary
#E5F1C0
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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