#8952E3#8952E3

#8952E3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.210 H 296.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8952E3
RGBrgb(137, 82, 227)
HSLhsl(263, 72%, 61%)
HSVhsv(263, 64%, 89%)
CMYKcmyk(39.6%, 63.9%, 0%, 11%)
CIE-LABlab(48.13, 53.04, -65.65)
CIE-LCHlch(48.13, 84.40, 308.94°)
OKLaboklab(57.58% 0.0942 -0.1872)
OKLCHoklch(57.58% 0.21 296.7)
XYZxyz(27.1954, 16.8985, 74.4871)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E3 #ACE352
analogous
#5263E3 #8952E3 #D252E3
triadic
#8952E3 #E38952 #52E389
tetradic
#8952E3 #E35263 #ACE352 #52E3D2
square
#8952E3 #E35263 #ACE352 #52E3D2
split-complementary
#8952E3 #E3D252 #63E352
monochromatic
#4D1AA1 #6623D5 #8952E3 #AD87EC #D1BBF4

Accessibility & contrast

On white

4.79
#8952E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8952E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E3#FFFFFF#000000##FFFFFF
##8952E31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8952e3;
/* rgb */ color: rgb(137, 82, 227);
/* oklch */ color: oklch(57.6% 0.210 296.7);
Tailwind
colors: {
  custom: {
    50: '#b186ed',
    500: '#8952e3',
    950: '#000000',
  },
}
SCSS
$custom: #8952e3;
$custom-light: #b186ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e3",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 262.759,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.20954,
    "h": 296.7
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#8952E3
secondary
#CFE4AD
accent
#D4118A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952E3

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

Preview Lab → · Contrast checker → · Palette generator →

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