#8452F5#8452F5

#8452F5 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.230 H 291.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8452F5
RGBrgb(132, 82, 245)
HSLhsl(258, 89%, 64%)
HSVhsv(258, 67%, 96%)
CMYKcmyk(46.1%, 66.5%, 0%, 3.9%)
CIE-LABlab(48.92, 56.80, -74.52)
CIE-LCHlch(48.92, 93.70, 307.32°)
OKLaboklab(58.44% 0.0853 -0.2134)
OKLCHoklch(58.44% 0.23 291.8)
XYZxyz(29.0098, 17.5317, 88.2239)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8452F5 #C3F552
analogous
#5272F5 #8452F5 #D652F5
triadic
#8452F5 #F58452 #52F584
tetradic
#8452F5 #F55272 #C3F552 #52F5D6
square
#8452F5 #F55272 #C3F552 #52F5D6
split-complementary
#8452F5 #F5D652 #72F552
monochromatic
#430BC1 #5B18F2 #8452F5 #AD8CF8 #D6C6FC

Accessibility & contrast

On white

4.66
#8452F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8452F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8452F5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8452F5#FFFFFF#000000##FFFFFF
##8452F51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0071F2
Tritanopia (blue-blind)
#617A9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8452f5;
/* rgb */ color: rgb(132, 82, 245);
/* oklch */ color: oklch(58.4% 0.230 291.8);
Tailwind
colors: {
  custom: {
    50: '#b086fa',
    500: '#8452f5',
    950: '#000000',
  },
}
SCSS
$custom: #8452f5;
$custom-light: #b086fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8452f5",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 258.405,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.22984,
    "h": 291.8
  },
  "luminance": 0.17533
}

Semantic roles & 50–950 ramp

primary
#8452F5
secondary
#DCEEB5
accent
#E6009F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8452F5

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

Preview Lab → · Contrast checker → · Palette generator →

#8452F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva