#8952DB#8952DB

#8952DB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.200 H 298.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8952DB
RGBrgb(137, 82, 219)
HSLhsl(264, 66%, 59%)
HSVhsv(264, 63%, 86%)
CMYKcmyk(37.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(47.58, 51.00, -62.00)
CIE-LCHlch(47.58, 80.29, 309.44°)
OKLaboklab(57.01% 0.0948 -0.1765)
OKLCHoklch(57.01% 0.2 298.3)
XYZxyz(26.1168, 16.4671, 68.8066)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952DB #A4DB52
analogous
#5260DB #8952DB #CE52DB
triadic
#8952DB #DB8952 #52DB89
tetradic
#8952DB #DB5260 #A4DB52 #52DBCE
square
#8952DB #DB5260 #A4DB52 #52DBCE
split-complementary
#8952DB #DBCE52 #60DB52
monochromatic
#4E1F94 #6829C6 #8952DB #AC85E6 #CEB7F0

Accessibility & contrast

On white

4.89
#8952DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8952DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952DB#FFFFFF#000000##FFFFFF
##8952DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0A6FD8
Tritanopia (blue-blind)
#76708F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8952db;
/* rgb */ color: rgb(137, 82, 219);
/* oklch */ color: oklch(57.0% 0.200 298.3);
Tailwind
colors: {
  custom: {
    50: '#b185e7',
    500: '#8952db',
    950: '#000000',
  },
}
SCSS
$custom: #8952db;
$custom-light: #b185e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8952db",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 264.088,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.20033,
    "h": 298.3
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8952DB

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

Preview Lab → · Contrast checker → · Palette generator →

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