#9752FF#9752FF

#9752FF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.242 H 296.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9752FF
RGBrgb(151, 82, 255)
HSLhsl(264, 100%, 66%)
HSVhsv(264, 68%, 100%)
CMYKcmyk(40.8%, 67.8%, 0%, 0%)
CIE-LABlab(51.65, 62.74, -75.57)
CIE-LCHlch(51.65, 98.22, 309.70°)
OKLaboklab(61.08% 0.1093 -0.2159)
OKLCHoklch(61.08% 0.242 296.9)
XYZxyz(33.8251, 19.8332, 96.6344)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752FF #BAFF52
analogous
#5263FF #9752FF #EE52FF
triadic
#9752FF #FF9752 #52FF97
tetradic
#9752FF #FF5263 #BAFF52 #52FFEE
square
#9752FF #FF5263 #BAFF52 #52FFEE
split-complementary
#9752FF #FFEE52 #63FF52
monochromatic
#5600D7 #7215FF #9752FF #BC8FFF #E1CCFF

Accessibility & contrast

On white

4.23
#9752FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9752FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752FF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752FF#FFFFFF#000000##000000
##9752FF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#7C7CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9752ff;
/* rgb */ color: rgb(151, 82, 255);
/* oklch */ color: oklch(61.1% 0.242 296.9);
Tailwind
colors: {
  custom: {
    50: '#bd87ff',
    500: '#9752ff',
    950: '#000000',
  },
}
SCSS
$custom: #9752ff;
$custom-light: #bd87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9752ff",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 263.931,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.24199,
    "h": 296.9
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#9752FF
secondary
#DCF3BA
accent
#E6008A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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