#9750D5#9750D5

#9750D5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.199 H 305.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9750D5
RGBrgb(151, 80, 213)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 62%, 84%)
CMYKcmyk(29.1%, 62.4%, 0%, 16.5%)
CIE-LABlab(48.41, 53.62, -57.16)
CIE-LCHlch(48.41, 78.37, 313.17°)
OKLaboklab(57.85% 0.1159 -0.1618)
OKLCHoklch(57.85% 0.199 305.6)
XYZxyz(27.6388, 17.1209, 64.7865)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D5 #8ED550
analogous
#5550D5 #9750D5 #D550D0
triadic
#9750D5 #D59750 #50D597
tetradic
#9750D5 #D55550 #8ED550 #50D0D5
square
#9750D5 #D55550 #8ED550 #50D0D5
split-complementary
#9750D5 #D0D550 #50D555
monochromatic
#59218A #792DBB #9750D5 #B481E1 #D2B3ED

Accessibility & contrast

On white

4.75
#9750D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9750D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D5#FFFFFF#000000##FFFFFF
##9750D51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#8C6C8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9750d5;
/* rgb */ color: rgb(151, 80, 213);
/* oklch */ color: oklch(57.8% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#ba85e3',
    500: '#9750d5',
    950: '#000000',
  },
}
SCSS
$custom: #9750d5;
$custom-light: #ba85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d5",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 272.03,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.199,
    "h": 305.6
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#9750D5
secondary
#BFDBA6
accent
#E4438E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9750D5

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

Preview Lab → · Contrast checker → · Palette generator →

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