#9750D7#9750D7

#9750D7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.201 H 305.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9750D7
RGBrgb(151, 80, 215)
HSLhsl(272, 63%, 58%)
HSVhsv(272, 63%, 84%)
CMYKcmyk(29.8%, 62.8%, 0%, 15.7%)
CIE-LABlab(48.54, 54.08, -58.10)
CIE-LCHlch(48.54, 79.38, 312.95°)
OKLaboklab(57.98% 0.1158 -0.1645)
OKLCHoklch(57.98% 0.201 305.1)
XYZxyz(27.8942, 17.2231, 66.1317)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D7 #90D750
analogous
#5450D7 #9750D7 #D750D3
triadic
#9750D7 #D79750 #50D797
tetradic
#9750D7 #D75450 #90D750 #50D3D7
square
#9750D7 #D75450 #90D750 #50D3D7
split-complementary
#9750D7 #D3D750 #50D754
monochromatic
#59208C #792BBE #9750D7 #B582E2 #D2B4EE

Accessibility & contrast

On white

4.72
#9750D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9750D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D7#FFFFFF#000000##FFFFFF
##9750D71.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#8C6C8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9750d7;
/* rgb */ color: rgb(151, 80, 215);
/* oklch */ color: oklch(58.0% 0.201 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba85e4',
    500: '#9750d7',
    950: '#000000',
  },
}
SCSS
$custom: #9750d7;
$custom-light: #ba85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d7",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 271.556,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57978,
    "c": 0.20118,
    "h": 305.1
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#9750D7
secondary
#C0DCA6
accent
#E64290
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9750D7

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

Preview Lab → · Contrast checker → · Palette generator →

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