#9750D9#9750D9

#9750D9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.203 H 304.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9750D9
RGBrgb(151, 80, 217)
HSLhsl(271, 64%, 58%)
HSVhsv(271, 63%, 85%)
CMYKcmyk(30.4%, 63.1%, 0%, 14.9%)
CIE-LABlab(48.67, 54.55, -59.03)
CIE-LCHlch(48.67, 80.38, 312.74°)
OKLaboklab(58.11% 0.1157 -0.1673)
OKLCHoklch(58.11% 0.203 304.7)
XYZxyz(28.1528, 17.3265, 67.4934)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D9 #92D950
analogous
#5250D9 #9750D9 #D950D6
triadic
#9750D9 #D99750 #50D997
tetradic
#9750D9 #D95250 #92D950 #50D6D9
square
#9750D9 #D95250 #92D950 #50D6D9
split-complementary
#9750D9 #D6D950 #50D952
monochromatic
#591F8F #792AC2 #9750D9 #B582E4 #D3B5EF

Accessibility & contrast

On white

4.70
#9750D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9750D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D9#FFFFFF#000000##FFFFFF
##9750D91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#8B6D8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9750d9;
/* rgb */ color: rgb(151, 80, 217);
/* oklch */ color: oklch(58.1% 0.203 304.7);
Tailwind
colors: {
  custom: {
    50: '#ba85e5',
    500: '#9750d9',
    950: '#000000',
  },
}
SCSS
$custom: #9750d9;
$custom-light: #ba85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d9",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 271.095,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.20336,
    "h": 304.7
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#9750D9
secondary
#C1DEA7
accent
#E74091
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9750D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9750D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva