#8752DB#8752DB

#8752DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.200 H 297.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8752DB
RGBrgb(135, 82, 219)
HSLhsl(263, 66%, 59%)
HSVhsv(263, 63%, 86%)
CMYKcmyk(38.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(47.37, 50.58, -62.36)
CIE-LCHlch(47.37, 80.30, 309.04°)
OKLaboklab(56.8% 0.0922 -0.1776)
OKLCHoklch(56.8% 0.2 297.4)
XYZxyz(25.7919, 16.2995, 68.7914)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752DB #A6DB52
analogous
#5262DB #8752DB #CC52DB
triadic
#8752DB #DB8752 #52DB87
tetradic
#8752DB #DB5262 #A6DB52 #52DBCC
square
#8752DB #DB5262 #A6DB52 #52DBCC
split-complementary
#8752DB #DBCC52 #62DB52
monochromatic
#4C1F94 #6629C6 #8752DB #AA85E6 #CDB7F0

Accessibility & contrast

On white

4.93
#8752DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8752DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752DB#FFFFFF#000000##FFFFFF
##8752DB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#73718F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8752db;
/* rgb */ color: rgb(135, 82, 219);
/* oklch */ color: oklch(56.8% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#af85e7',
    500: '#8752db',
    950: '#000000',
  },
}
SCSS
$custom: #8752db;
$custom-light: #af85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8752db",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 263.212,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.20008,
    "h": 297.4
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#8752DB
secondary
#CADFAA
accent
#E93FA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752DB

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

Preview Lab → · Contrast checker → · Palette generator →

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