#8952E2#8952E2

#8952E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.208 H 296.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8952E2
RGBrgb(137, 82, 226)
HSLhsl(263, 71%, 60%)
HSVhsv(263, 64%, 89%)
CMYKcmyk(39.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(48.06, 52.79, -65.20)
CIE-LCHlch(48.06, 83.89, 308.99°)
OKLaboklab(57.51% 0.0943 -0.1859)
OKLCHoklch(57.51% 0.208 296.9)
XYZxyz(27.0577, 16.8435, 73.7623)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E2 #ABE252
analogous
#5263E2 #8952E2 #D152E2
triadic
#8952E2 #E28952 #52E289
tetradic
#8952E2 #E25263 #ABE252 #52E2D1
square
#8952E2 #E25263 #ABE252 #52E2D1
split-complementary
#8952E2 #E2D152 #63E252
monochromatic
#4D1B9F #6723D3 #8952E2 #AD86EB #D1BBF4

Accessibility & contrast

On white

4.81
#8952E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8952E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E2#FFFFFF#000000##FFFFFF
##8952E21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#737393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8952e2;
/* rgb */ color: rgb(137, 82, 226);
/* oklch */ color: oklch(57.5% 0.208 296.9);
Tailwind
colors: {
  custom: {
    50: '#b186ec',
    500: '#8952e2',
    950: '#000000',
  },
}
SCSS
$custom: #8952e2;
$custom-light: #b186ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e2",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 262.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.2084,
    "h": 296.9
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#8952E2
secondary
#CEE3AC
accent
#D3128A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952E2

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

Preview Lab → · Contrast checker → · Palette generator →

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