#9952BF#9952BF

#9952BF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.173 H 312.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9952BF
RGBrgb(153, 82, 191)
HSLhsl(279, 46%, 54%)
HSVhsv(279, 57%, 75%)
CMYKcmyk(19.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(47.71, 48.10, -45.61)
CIE-LCHlch(47.71, 66.28, 316.52°)
OKLaboklab(56.96% 0.1161 -0.1279)
OKLCHoklch(56.96% 0.173 312.2)
XYZxyz(25.5565, 16.5691, 51.1320)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952BF #78BF52
analogous
#6252BF #9952BF #BF52AE
triadic
#9952BF #BF9952 #52BF99
tetradic
#9952BF #BF6252 #78BF52 #52AEBF
square
#9952BF #BF6252 #78BF52 #52AEBF
split-complementary
#9952BF #AEBF52 #52BF62
monochromatic
#56296E #79399B #9952BF #B37FD0 #CEABE0

Accessibility & contrast

On white

4.87
#9952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952BF#FFFFFF#000000##FFFFFF
##9952BF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#956581
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9952bf;
/* rgb */ color: rgb(153, 82, 191);
/* oklch */ color: oklch(57.0% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#ba86d3',
    500: '#9952bf',
    950: '#000000',
  },
}
SCSS
$custom: #9952bf;
$custom-light: #ba86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9952bf",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 279.083,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.17272,
    "h": 312.2
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#9952BF
secondary
#AFCE9F
accent
#D65280
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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