#9750C2#9750C2

#9750C2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.178 H 310.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9750C2
RGBrgb(151, 80, 194)
HSLhsl(277, 48%, 54%)
HSVhsv(277, 59%, 76%)
CMYKcmyk(22.2%, 58.8%, 0%, 23.9%)
CIE-LABlab(47.25, 49.28, -48.09)
CIE-LCHlch(47.25, 68.86, 315.70°)
OKLaboklab(56.63% 0.1163 -0.1352)
OKLCHoklch(56.63% 0.178 310.7)
XYZxyz(25.3669, 16.2122, 52.8214)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750C2 #7BC250
analogous
#5E50C2 #9750C2 #C250B4
triadic
#9750C2 #C29750 #50C297
tetradic
#9750C2 #C25E50 #7BC250 #50B4C2
square
#9750C2 #C25E50 #7BC250 #50B4C2
split-complementary
#9750C2 #B4C250 #50C25E
monochromatic
#552770 #77379E #9750C2 #B27DD2 #CDABE2

Accessibility & contrast

On white

4.95
#9750C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9750C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750C2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750C2#FFFFFF#000000##FFFFFF
##9750C21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#926581
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9750c2;
/* rgb */ color: rgb(151, 80, 194);
/* oklch */ color: oklch(56.6% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#b984d5',
    500: '#9750c2',
    950: '#000000',
  },
}
SCSS
$custom: #9750c2;
$custom-light: #b984d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9750c2",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 277.368,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.1783,
    "h": 310.7
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#9750C2
secondary
#B1CF9F
accent
#D85083
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9750C2

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

Preview Lab → · Contrast checker → · Palette generator →

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