#8952BF#8952BF

#8952BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.168 H 304.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8952BF
RGBrgb(137, 82, 191)
HSLhsl(270, 46%, 54%)
HSVhsv(270, 57%, 75%)
CMYKcmyk(28.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(45.79, 44.04, -48.79)
CIE-LCHlch(45.79, 65.72, 312.07°)
OKLaboklab(55.13% 0.0956 -0.1376)
OKLCHoklch(55.13% 0.168 304.8)
XYZxyz(22.7357, 15.1147, 50.9998)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952BF #88BF52
analogous
#5252BF #8952BF #BF52BF
triadic
#8952BF #BF8952 #52BF89
tetradic
#8952BF #BF5252 #88BF52 #52BFBF
square
#8952BF #BF5252 #88BF52 #52BFBF
split-complementary
#8952BF #BFBF52 #52BF52
monochromatic
#4C296E #6A399B #8952BF #A77FD0 #C6ABE0

Accessibility & contrast

On white

5.22
#8952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952BF#FFFFFF#000000##FFFFFF
##8952BF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#3C6DBC
Tritanopia (blue-blind)
#806781
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8952bf;
/* rgb */ color: rgb(137, 82, 191);
/* oklch */ color: oklch(55.1% 0.168 304.8);
Tailwind
colors: {
  custom: {
    50: '#af85d3',
    500: '#8952bf',
    950: '#000000',
  },
}
SCSS
$custom: #8952bf;
$custom-light: #af85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8952bf",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 270.275,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.16761,
    "h": 304.8
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#8952BF
secondary
#B6CE9F
accent
#D65293
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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