#8952D5#8952D5

#8952D5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.193 H 299.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8952D5
RGBrgb(137, 82, 213)
HSLhsl(265, 61%, 58%)
HSVhsv(265, 62%, 84%)
CMYKcmyk(35.7%, 61.5%, 0%, 16.5%)
CIE-LABlab(47.18, 49.48, -59.23)
CIE-LCHlch(47.18, 77.18, 309.88°)
OKLaboklab(56.59% 0.0952 -0.1683)
OKLCHoklch(56.59% 0.193 299.5)
XYZxyz(25.3411, 16.1568, 64.7214)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952D5 #9ED552
analogous
#525CD5 #8952D5 #CA52D5
triadic
#8952D5 #D58952 #52D589
tetradic
#8952D5 #D5525C #9ED552 #52D5CA
square
#8952D5 #D5525C #9ED552 #52D5CA
split-complementary
#8952D5 #D5CA52 #5CD552
monochromatic
#4E228B #692EBC #8952D5 #AB83E1 #CCB4ED

Accessibility & contrast

On white

4.96
#8952D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8952D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952D5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952D5#FFFFFF#000000##FFFFFF
##8952D51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#786E8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8952d5;
/* rgb */ color: rgb(137, 82, 213);
/* oklch */ color: oklch(56.6% 0.193 299.5);
Tailwind
colors: {
  custom: {
    50: '#b085e3',
    500: '#8952d5',
    950: '#000000',
  },
}
SCSS
$custom: #8952d5;
$custom-light: #b085e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8952d5",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 265.191,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.19337,
    "h": 299.5
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#8952D5
secondary
#C6DCA7
accent
#E444A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8952D5

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

Preview Lab → · Contrast checker → · Palette generator →

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