#8952D2#8952D2

#8952D2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.190 H 300.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8952D2
RGBrgb(137, 82, 210)
HSLhsl(266, 59%, 57%)
HSVhsv(266, 61%, 82%)
CMYKcmyk(34.8%, 61%, 0%, 17.6%)
CIE-LABlab(46.98, 48.73, -57.83)
CIE-LCHlch(46.98, 75.63, 310.12°)
OKLaboklab(56.39% 0.0954 -0.1642)
OKLCHoklch(56.39% 0.19 300.2)
XYZxyz(24.9639, 16.0059, 62.7345)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952D2 #9BD252
analogous
#525BD2 #8952D2 #C952D2
triadic
#8952D2 #D28952 #52D289
tetradic
#8952D2 #D2525B #9BD252 #52D2C9
square
#8952D2 #D2525B #9BD252 #52D2C9
split-complementary
#8952D2 #D2C952 #5BD252
monochromatic
#4E2387 #6A30B7 #8952D2 #AA83DF #CBB3EB

Accessibility & contrast

On white

5.00
#8952D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8952D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952D2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952D2#FFFFFF#000000##FFFFFF
##8952D21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#246ECF
Tritanopia (blue-blind)
#796D8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8952d2;
/* rgb */ color: rgb(137, 82, 210);
/* oklch */ color: oklch(56.4% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#b085e0',
    500: '#8952d2',
    950: '#000000',
  },
}
SCSS
$custom: #8952d2;
$custom-light: #b085e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8952d2",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 265.781,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.18988,
    "h": 300.2
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#8952D2
secondary
#C4DAA6
accent
#E2469F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952D2

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

Preview Lab → · Contrast checker → · Palette generator →

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