#9750D8#9750D8

#9750D8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.202 H 304.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9750D8
RGBrgb(151, 80, 216)
HSLhsl(271, 64%, 58%)
HSVhsv(271, 63%, 85%)
CMYKcmyk(30.1%, 63%, 0%, 15.3%)
CIE-LABlab(48.60, 54.32, -58.56)
CIE-LCHlch(48.60, 79.88, 312.85°)
OKLaboklab(58.05% 0.1157 -0.1659)
OKLCHoklch(58.05% 0.202 304.9)
XYZxyz(28.0231, 17.2747, 66.8105)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D8 #91D850
analogous
#5350D8 #9750D8 #D850D5
triadic
#9750D8 #D89750 #50D897
tetradic
#9750D8 #D85350 #91D850 #50D5D8
square
#9750D8 #D85350 #91D850 #50D5D8
split-complementary
#9750D8 #D5D850 #50D853
monochromatic
#59208E #792BC0 #9750D8 #B582E3 #D2B4EE

Accessibility & contrast

On white

4.71
#9750D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9750D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D8#FFFFFF#000000##FFFFFF
##9750D81.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#2D74D5
Tritanopia (blue-blind)
#8B6D8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9750d8;
/* rgb */ color: rgb(151, 80, 216);
/* oklch */ color: oklch(58.0% 0.202 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba85e5',
    500: '#9750d8',
    950: '#000000',
  },
}
SCSS
$custom: #9750d8;
$custom-light: #ba85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d8",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 271.324,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.20227,
    "h": 304.9
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#9750D8
secondary
#C1DDA7
accent
#E74190
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9750D8

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

Preview Lab → · Contrast checker → · Palette generator →

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