#8752F5#8752F5

#8752F5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.230 H 292.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8752F5
RGBrgb(135, 82, 245)
HSLhsl(260, 89%, 64%)
HSVhsv(260, 67%, 96%)
CMYKcmyk(44.9%, 66.5%, 0%, 3.9%)
CIE-LABlab(49.22, 57.34, -74.01)
CIE-LCHlch(49.22, 93.62, 307.76°)
OKLaboklab(58.73% 0.0894 -0.2118)
OKLCHoklch(58.73% 0.23 292.9)
XYZxyz(29.4859, 17.7771, 88.2463)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752F5 #C0F552
analogous
#526FF5 #8752F5 #D852F5
triadic
#8752F5 #F58752 #52F587
tetradic
#8752F5 #F5526F #C0F552 #52F5D8
square
#8752F5 #F5526F #C0F552 #52F5D8
split-complementary
#8752F5 #F5D852 #6FF552
monochromatic
#460BC1 #5F18F2 #8752F5 #AF8CF8 #D7C6FC

Accessibility & contrast

On white

4.61
#8752F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8752F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8752F5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752F5#FFFFFF#000000##FFFFFF
##8752F51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#677A9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8752f5;
/* rgb */ color: rgb(135, 82, 245);
/* oklch */ color: oklch(58.7% 0.230 292.9);
Tailwind
colors: {
  custom: {
    50: '#b286fa',
    500: '#8752f5',
    950: '#000000',
  },
}
SCSS
$custom: #8752f5;
$custom-light: #b286fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8752f5",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 259.509,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.22991,
    "h": 292.9
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#8752F5
secondary
#DBEEB5
accent
#E6009B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8752F5

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

Preview Lab → · Contrast checker → · Palette generator →

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