#8752FF#8752FF

#8752FF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.241 H 291.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8752FF
RGBrgb(135, 82, 255)
HSLhsl(258, 100%, 66%)
HSVhsv(258, 68%, 100%)
CMYKcmyk(47.1%, 67.8%, 0%, 0%)
CIE-LABlab(49.98, 59.96, -78.35)
CIE-LCHlch(49.98, 98.66, 307.43°)
OKLaboklab(59.51% 0.0878 -0.2246)
OKLCHoklch(59.51% 0.241 291.4)
XYZxyz(31.0539, 18.4043, 96.5045)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752FF #CAFF52
analogous
#5273FF #8752FF #DE52FF
triadic
#8752FF #FF8752 #52FF87
tetradic
#8752FF #FF5273 #CAFF52 #52FFDE
square
#8752FF #FF5273 #CAFF52 #52FFDE
split-complementary
#8752FF #FFDE52 #73FF52
monochromatic
#4200D7 #5D15FF #8752FF #B18FFF #DCCCFF

Accessibility & contrast

On white

4.49
#8752FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8752FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8752FF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752FF#FFFFFF#000000##000000
##8752FF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#617EA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8752ff;
/* rgb */ color: rgb(135, 82, 255);
/* oklch */ color: oklch(59.5% 0.241 291.4);
Tailwind
colors: {
  custom: {
    50: '#b386ff',
    500: '#8752ff',
    950: '#000000',
  },
}
SCSS
$custom: #8752ff;
$custom-light: #b386ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8752ff",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 258.382,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.24115,
    "h": 291.4
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#8752FF
secondary
#E1F3BA
accent
#E6009F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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