#8952E0#8952E0

#8952E0 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.206 H 297.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8952E0
RGBrgb(137, 82, 224)
HSLhsl(263, 70%, 60%)
HSVhsv(263, 63%, 88%)
CMYKcmyk(38.8%, 63.4%, 0%, 12.2%)
CIE-LABlab(47.92, 52.28, -64.29)
CIE-LCHlch(47.92, 82.86, 309.12°)
OKLaboklab(57.37% 0.0944 -0.1832)
OKLCHoklch(57.37% 0.206 297.3)
XYZxyz(26.7849, 16.7343, 72.3254)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952E0 #A9E052
analogous
#5262E0 #8952E0 #D052E0
triadic
#8952E0 #E08952 #52E089
tetradic
#8952E0 #E05262 #A9E052 #52E0D0
square
#8952E0 #E05262 #A9E052 #52E0D0
split-complementary
#8952E0 #E0D052 #62E052
monochromatic
#4D1C9C #6725D0 #8952E0 #AC86E9 #D0BAF3

Accessibility & contrast

On white

4.83
#8952E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8952E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952E0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952E0#FFFFFF#000000##FFFFFF
##8952E01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#747292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8952e0;
/* rgb */ color: rgb(137, 82, 224);
/* oklch */ color: oklch(57.4% 0.206 297.3);
Tailwind
colors: {
  custom: {
    50: '#b185eb',
    500: '#8952e0',
    950: '#000000',
  },
}
SCSS
$custom: #8952e0;
$custom-light: #b185eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8952e0",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 263.239,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.20609,
    "h": 297.3
  },
  "luminance": 0.16735
}

Semantic roles & 50–950 ramp

primary
#8952E0
secondary
#CDE2AC
accent
#EC3BA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952E0

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

Preview Lab → · Contrast checker → · Palette generator →

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