#9752D8#9752D8

#9752D8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.200 H 304.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9752D8
RGBrgb(151, 82, 216)
HSLhsl(271, 63%, 58%)
HSVhsv(271, 62%, 85%)
CMYKcmyk(30.1%, 62%, 0%, 15.3%)
CIE-LABlab(48.97, 53.32, -57.97)
CIE-LCHlch(48.97, 78.76, 312.60°)
OKLaboklab(58.31% 0.1134 -0.1642)
OKLCHoklch(58.31% 0.2 304.6)
XYZxyz(28.1717, 17.5719, 66.8600)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D8 #93D852
analogous
#5452D8 #9752D8 #D852D6
triadic
#9752D8 #D89752 #52D897
tetradic
#9752D8 #D85452 #93D852 #52D6D8
square
#9752D8 #D85452 #93D852 #52D6D8
split-complementary
#9752D8 #D6D852 #52D854
monochromatic
#59208F #792CC1 #9752D8 #B584E3 #D3B6EF

Accessibility & contrast

On white

4.65
#9752D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9752D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D8#FFFFFF#000000##FFFFFF
##9752D81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#8B6E8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9752d8;
/* rgb */ color: rgb(151, 82, 216);
/* oklch */ color: oklch(58.3% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba86e5',
    500: '#9752d8',
    950: '#000000',
  },
}
SCSS
$custom: #9752d8;
$custom-light: #ba86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d8",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 270.896,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.19953,
    "h": 304.6
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#9752D8
secondary
#C2DDA8
accent
#E64291
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752D8

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

Preview Lab → · Contrast checker → · Palette generator →

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