#8952E7#8952E7

#8952E7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.214 H 296.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8952E7
RGBrgb(137, 82, 231)
HSLhsl(262, 76%, 61%)
HSVhsv(262, 65%, 91%)
CMYKcmyk(40.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(48.41, 54.07, -67.46)
CIE-LCHlch(48.41, 86.45, 308.71°)
OKLaboklab(57.88% 0.0938 -0.1925)
OKLCHoklch(57.88% 0.214 296)
XYZxyz(27.7538, 17.1219, 77.4284)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E7 #B0E752
analogous
#5266E7 #8952E7 #D452E7
triadic
#8952E7 #E78952 #52E789
tetradic
#8952E7 #E75266 #B0E752 #52E7D4
square
#8952E7 #E75266 #B0E752 #52E7D4
split-complementary
#8952E7 #E7D452 #66E752
monochromatic
#4C17A7 #651FDD #8952E7 #AE88EE #D2BDF6

Accessibility & contrast

On white

4.75
#8952E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8952E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E7#FFFFFF#000000##FFFFFF
##8952E71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#717595
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8952e7;
/* rgb */ color: rgb(137, 82, 231);
/* oklch */ color: oklch(57.9% 0.214 296.0);
Tailwind
colors: {
  custom: {
    50: '#b286f0',
    500: '#8952e7',
    950: '#000000',
  },
}
SCSS
$custom: #8952e7;
$custom-light: #b286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e7",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 262.148,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.21412,
    "h": 296
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#8952E7
secondary
#D2E6AF
accent
#D80E8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8952E7

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

Preview Lab → · Contrast checker → · Palette generator →

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