#9750B2#9750B2

#9750B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.161 H 315.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9750B2
RGBrgb(151, 80, 178)
HSLhsl(283, 39%, 51%)
HSVhsv(283, 55%, 70%)
CMYKcmyk(15.2%, 55.1%, 0%, 30.2%)
CIE-LABlab(46.35, 45.79, -40.20)
CIE-LCHlch(46.35, 60.93, 318.72°)
OKLaboklab(55.68% 0.1155 -0.1121)
OKLCHoklch(55.68% 0.161 315.8)
XYZxyz(23.6658, 15.5317, 43.8621)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750B2 #6BB250
analogous
#6650B2 #9750B2 #B2509C
triadic
#9750B2 #B29750 #50B297
tetradic
#9750B2 #B26650 #6BB250 #509CB2
square
#9750B2 #B26650 #6BB250 #509CB2
split-complementary
#9750B2 #9CB250 #50B266
monochromatic
#50295E #743C89 #9750B2 #B07AC5 #CAA5D7

Accessibility & contrast

On white

5.11
#9750B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9750B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750B2#FFFFFF#000000##FFFFFF
##9750B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#966079
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9750b2;
/* rgb */ color: rgb(151, 80, 178);
/* oklch */ color: oklch(55.7% 0.161 315.8);
Tailwind
colors: {
  custom: {
    50: '#b884c9',
    500: '#9750b2',
    950: '#000000',
  },
}
SCSS
$custom: #9750b2;
$custom-light: #b884c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9750b2",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 283.469,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.161,
    "h": 315.8
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#9750B2
secondary
#A5C599
accent
#CF5979
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9750B2

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

Preview Lab → · Contrast checker → · Palette generator →

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