#8952E9#8952E9

#8952E9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.216 H 295.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8952E9
RGBrgb(137, 82, 233)
HSLhsl(262, 77%, 62%)
HSVhsv(262, 65%, 91%)
CMYKcmyk(41.2%, 64.8%, 0%, 8.6%)
CIE-LABlab(48.56, 54.59, -68.36)
CIE-LCHlch(48.56, 87.48, 308.61°)
OKLaboklab(58.02% 0.0935 -0.1951)
OKLCHoklch(58.02% 0.216 295.6)
XYZxyz(28.0379, 17.2355, 78.9246)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E9 #B2E952
analogous
#5267E9 #8952E9 #D452E9
triadic
#8952E9 #E98952 #52E989
tetradic
#8952E9 #E95267 #B2E952 #52E9D4
square
#8952E9 #E95267 #B2E952 #52E9D4
split-complementary
#8952E9 #E9D452 #67E952
monochromatic
#4C16AB #641DE1 #8952E9 #AE88F0 #D3BFF7

Accessibility & contrast

On white

4.72
#8952E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8952E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E9#FFFFFF#000000##FFFFFF
##8952E91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#707596
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8952e9;
/* rgb */ color: rgb(137, 82, 233);
/* oklch */ color: oklch(58.0% 0.216 295.6);
Tailwind
colors: {
  custom: {
    50: '#b286f1',
    500: '#8952e9',
    950: '#000000',
  },
}
SCSS
$custom: #8952e9;
$custom-light: #b286f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e9",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 261.854,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.2164,
    "h": 295.6
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#8952E9
secondary
#D3E7AF
accent
#DA0C8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8952E9

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

Preview Lab → · Contrast checker → · Palette generator →

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