#9750C4#9750C4

#9750C4 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.180 H 310.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9750C4
RGBrgb(151, 80, 196)
HSLhsl(277, 50%, 54%)
HSVhsv(277, 59%, 77%)
CMYKcmyk(23%, 59.2%, 0%, 23.1%)
CIE-LABlab(47.37, 49.73, -49.06)
CIE-LCHlch(47.37, 69.86, 315.39°)
OKLaboklab(56.75% 0.1163 -0.138)
OKLCHoklch(56.75% 0.18 310.1)
XYZxyz(25.5931, 16.3026, 54.0124)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750C4 #7DC450
analogous
#5D50C4 #9750C4 #C450B7
triadic
#9750C4 #C49750 #50C497
tetradic
#9750C4 #C45D50 #7DC450 #50B7C4
square
#9750C4 #C45D50 #7DC450 #50B7C4
split-complementary
#9750C4 #B7C450 #50C45D
monochromatic
#552773 #7736A1 #9750C4 #B27ED3 #CDACE3

Accessibility & contrast

On white

4.93
#9750C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9750C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750C4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750C4#FFFFFF#000000##FFFFFF
##9750C41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC8
Deuteranopia (green-blind)
#4372C1
Tritanopia (blue-blind)
#916682
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9750c4;
/* rgb */ color: rgb(151, 80, 196);
/* oklch */ color: oklch(56.8% 0.180 310.1);
Tailwind
colors: {
  custom: {
    50: '#b984d6',
    500: '#9750c4',
    950: '#000000',
  },
}
SCSS
$custom: #9750c4;
$custom-light: #b984d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9750c4",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 276.724,
    "s": 49.573,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.18047,
    "h": 310.1
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#9750C4
secondary
#B2D19F
accent
#D94F84
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9750C4

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

Preview Lab → · Contrast checker → · Palette generator →

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