#845FEA#845FEA

#845FEA is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.200 H 291.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#845FEA
RGBrgb(132, 95, 234)
HSLhsl(256, 77%, 65%)
HSVhsv(256, 59%, 92%)
CMYKcmyk(43.6%, 59.4%, 0%, 8.2%)
CIE-LABlab(50.72, 46.89, -65.43)
CIE-LCHlch(50.72, 80.50, 305.63°)
OKLaboklab(59.5% 0.073 -0.1867)
OKLCHoklch(59.5% 0.2 291.4)
XYZxyz(28.4551, 19.0295, 79.9998)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FEA #C5EA5F
analogous
#5F80EA #845FEA #C95FEA
triadic
#845FEA #EA845F #5FEA84
tetradic
#845FEA #EA5F80 #C5EA5F #5FEAC9
square
#845FEA #EA5F80 #C5EA5F #5FEAC9
split-complementary
#845FEA #EAC95F #80EA5F
monochromatic
#4218B7 #5A29E3 #845FEA #AE95F1 #D7CBF8

Accessibility & contrast

On white

4.37
#845FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#845FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FEA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FEA#FFFFFF#000000##000000
##845FEA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#667E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845fea;
/* rgb */ color: rgb(132, 95, 234);
/* oklch */ color: oklch(59.5% 0.200 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae8ef2',
    500: '#845fea',
    950: '#000000',
  },
}
SCSS
$custom: #845fea;
$custom-light: #ae8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#845fea",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 255.971,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.595,
    "c": 0.20047,
    "h": 291.4
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#845FEA
secondary
#DEEABA
accent
#D90CA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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