#9752DF#9752DF

#9752DF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.207 H 303.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9752DF
RGBrgb(151, 82, 223)
HSLhsl(269, 69%, 60%)
HSVhsv(269, 63%, 87%)
CMYKcmyk(32.3%, 63.2%, 0%, 12.5%)
CIE-LABlab(49.43, 54.97, -61.22)
CIE-LCHlch(49.43, 82.28, 311.92°)
OKLaboklab(58.78% 0.113 -0.1737)
OKLCHoklch(58.78% 0.207 303)
XYZxyz(29.0960, 17.9416, 71.7279)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752DF #9ADF52
analogous
#5254DF #9752DF #DE52DF
triadic
#9752DF #DF9752 #52DF97
tetradic
#9752DF #DF5254 #9ADF52 #52DFDE
square
#9752DF #DF5254 #9ADF52 #52DFDE
split-complementary
#9752DF #DFDE52 #54DF52
monochromatic
#5A1D9A #7826CE #9752DF #B686E9 #D5B9F2

Accessibility & contrast

On white

4.58
#9752DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9752DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752DF#FFFFFF#000000##000000
##9752DF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2575DC
Tritanopia (blue-blind)
#897091
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9752df;
/* rgb */ color: rgb(151, 82, 223);
/* oklch */ color: oklch(58.8% 0.207 303.0);
Tailwind
colors: {
  custom: {
    50: '#ba86ea',
    500: '#9752df',
    950: '#000000',
  },
}
SCSS
$custom: #9752df;
$custom-light: #ba86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9752df",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 269.362,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.20722,
    "h": 303
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#9752DF
secondary
#C7E2AB
accent
#EC3C96
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752DF

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

Preview Lab → · Contrast checker → · Palette generator →

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