#9752F3#9752F3

#9752F3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.229 H 299.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9752F3
RGBrgb(151, 82, 243)
HSLhsl(266, 87%, 64%)
HSVhsv(266, 66%, 95%)
CMYKcmyk(37.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(50.79, 59.80, -70.28)
CIE-LCHlch(50.79, 92.28, 310.39°)
OKLaboklab(60.19% 0.111 -0.2003)
OKLCHoklch(60.19% 0.229 299)
XYZxyz(31.9534, 19.0846, 86.7769)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752F3 #AEF352
analogous
#525DF3 #9752F3 #E752F3
triadic
#9752F3 #F39752 #52F397
tetradic
#9752F3 #F3525D #AEF352 #52F3E7
square
#9752F3 #F3525D #AEF352 #52F3E7
split-complementary
#9752F3 #F3E752 #5DF352
monochromatic
#590DBD #7519EF #9752F3 #B98BF7 #DCC4FB

Accessibility & contrast

On white

4.36
#9752F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9752F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752F3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752F3#FFFFFF#000000##000000
##9752F31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#82789C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9752f3;
/* rgb */ color: rgb(151, 82, 243);
/* oklch */ color: oklch(60.2% 0.229 299.0);
Tailwind
colors: {
  custom: {
    50: '#bc87f8',
    500: '#9752f3',
    950: '#000000',
  },
}
SCSS
$custom: #9752f3;
$custom-light: #bc87f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9752f3",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 265.714,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.22904,
    "h": 299
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#9752F3
secondary
#D4EDB4
accent
#E40283
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9752F3

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

Preview Lab → · Contrast checker → · Palette generator →

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