#8952EF#8952EF

#8952EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.223 H 294.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8952EF
RGBrgb(137, 82, 239)
HSLhsl(261, 83%, 63%)
HSVhsv(261, 66%, 94%)
CMYKcmyk(42.7%, 65.7%, 0%, 6.3%)
CIE-LABlab(48.99, 56.14, -71.03)
CIE-LCHlch(48.99, 90.53, 308.32°)
OKLaboklab(58.47% 0.0928 -0.203)
OKLCHoklch(58.47% 0.223 294.6)
XYZxyz(28.9096, 17.5842, 83.5155)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952EF #B8EF52
analogous
#5269EF #8952EF #D752EF
triadic
#8952EF #EF8952 #52EF89
tetradic
#8952EF #EF5269 #B8EF52 #52EFD7
square
#8952EF #EF5269 #B8EF52 #52EFD7
split-complementary
#8952EF #EFD752 #69EF52
monochromatic
#4B11B6 #631AEA #8952EF #AF8AF4 #D5C2F9

Accessibility & contrast

On white

4.65
#8952EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8952EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8952EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952EF#FFFFFF#000000##FFFFFF
##8952EF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#6D789A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8952ef;
/* rgb */ color: rgb(137, 82, 239);
/* oklch */ color: oklch(58.5% 0.223 294.6);
Tailwind
colors: {
  custom: {
    50: '#b386f5',
    500: '#8952ef',
    950: '#000000',
  },
}
SCSS
$custom: #8952ef;
$custom-light: #b386f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8952ef",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 261.019,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.22321,
    "h": 294.6
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#8952EF
secondary
#D7EBB2
accent
#DF0693
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8952EF

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

Preview Lab → · Contrast checker → · Palette generator →

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