#8952E8#8952E8

#8952E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.215 H 295.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8952E8
RGBrgb(137, 82, 232)
HSLhsl(262, 77%, 62%)
HSVhsv(262, 65%, 91%)
CMYKcmyk(40.9%, 64.7%, 0%, 9%)
CIE-LABlab(48.48, 54.33, -67.91)
CIE-LCHlch(48.48, 86.97, 308.66°)
OKLaboklab(57.95% 0.0937 -0.1938)
OKLCHoklch(57.95% 0.215 295.8)
XYZxyz(27.8955, 17.1786, 78.1744)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E8 #B1E852
analogous
#5266E8 #8952E8 #D452E8
triadic
#8952E8 #E88952 #52E889
tetradic
#8952E8 #E85266 #B1E852 #52E8D4
square
#8952E8 #E85266 #B1E852 #52E8D4
split-complementary
#8952E8 #E8D452 #66E852
monochromatic
#4C16A9 #651EDF #8952E8 #AE88EF #D3BEF6

Accessibility & contrast

On white

4.73
#8952E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8952E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E8#FFFFFF#000000##FFFFFF
##8952E81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8952e8;
/* rgb */ color: rgb(137, 82, 232);
/* oklch */ color: oklch(57.9% 0.215 295.8);
Tailwind
colors: {
  custom: {
    50: '#b286f0',
    500: '#8952e8',
    950: '#000000',
  },
}
SCSS
$custom: #8952e8;
$custom-light: #b286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e8",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 262,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.21526,
    "h": 295.8
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#8952E8
secondary
#D2E7AF
accent
#D90D8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8952E8

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

Preview Lab → · Contrast checker → · Palette generator →

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