#9752BF#9752BF

#9752BF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.172 H 311.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9752BF
RGBrgb(151, 82, 191)
HSLhsl(278, 46%, 54%)
HSVhsv(278, 57%, 75%)
CMYKcmyk(20.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(47.46, 47.58, -46.02)
CIE-LCHlch(47.46, 66.19, 315.96°)
OKLaboklab(56.73% 0.1136 -0.1291)
OKLCHoklch(56.73% 0.172 311.3)
XYZxyz(25.1820, 16.3760, 51.1144)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752BF #7ABF52
analogous
#6052BF #9752BF #BF52B0
triadic
#9752BF #BF9752 #52BF97
tetradic
#9752BF #BF6052 #7ABF52 #52B0BF
square
#9752BF #BF6052 #7ABF52 #52B0BF
split-complementary
#9752BF #B0BF52 #52BF60
monochromatic
#55296E #77399B #9752BF #B27FD0 #CDABE0

Accessibility & contrast

On white

4.91
#9752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752BF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752BF#FFFFFF#000000##FFFFFF
##9752BF1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#926581
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9752bf;
/* rgb */ color: rgb(151, 82, 191);
/* oklch */ color: oklch(56.7% 0.172 311.3);
Tailwind
colors: {
  custom: {
    50: '#b886d3',
    500: '#9752bf',
    950: '#000000',
  },
}
SCSS
$custom: #9752bf;
$custom-light: #b886d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9752bf",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 277.982,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.17197,
    "h": 311.3
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#9752BF
secondary
#B0CE9F
accent
#D65282
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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