#9752CB#9752CB

#9752CB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.185 H 307.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9752CB
RGBrgb(151, 82, 203)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(25.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(48.17, 50.30, -51.83)
CIE-LCHlch(48.17, 72.22, 314.14°)
OKLaboklab(57.47% 0.1138 -0.1461)
OKLCHoklch(57.47% 0.185 307.9)
XYZxyz(26.5571, 16.9261, 58.3564)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CB #86CB52
analogous
#5A52CB #9752CB #CB52C2
triadic
#9752CB #CB9752 #52CB97
tetradic
#9752CB #CB5A52 #86CB52 #52C2CB
square
#9752CB #CB5A52 #86CB52 #52C2CB
split-complementary
#9752CB #C2CB52 #52CB5A
monochromatic
#57267D #7834AC #9752CB #B381D9 #D0B0E7

Accessibility & contrast

On white

4.79
#9752CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9752CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CB#FFFFFF#000000##FFFFFF
##9752CB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#8F6987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9752cb;
/* rgb */ color: rgb(151, 82, 203);
/* oklch */ color: oklch(57.5% 0.185 307.9);
Tailwind
colors: {
  custom: {
    50: '#b986db',
    500: '#9752cb',
    950: '#000000',
  },
}
SCSS
$custom: #9752cb;
$custom-light: #b986db;
$custom-dark: #000000;
JSON
{
  "hex": "#9752cb",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 274.215,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.18519,
    "h": 307.9
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#9752CB
secondary
#B9D5A3
accent
#DD4B8A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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