#9750D2#9750D2

#9750D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.196 H 306.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9750D2
RGBrgb(151, 80, 210)
HSLhsl(273, 59%, 57%)
HSVhsv(273, 62%, 82%)
CMYKcmyk(28.1%, 61.9%, 0%, 17.6%)
CIE-LABlab(48.22, 52.92, -55.75)
CIE-LCHlch(48.22, 76.87, 313.51°)
OKLaboklab(57.65% 0.116 -0.1576)
OKLCHoklch(57.65% 0.196 306.4)
XYZxyz(27.2615, 16.9700, 62.7996)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D2 #8BD250
analogous
#5650D2 #9750D2 #D250CC
triadic
#9750D2 #D29750 #50D297
tetradic
#9750D2 #D25650 #8BD250 #50CCD2
square
#9750D2 #D25650 #8BD250 #50CCD2
split-complementary
#9750D2 #CCD250 #50D256
monochromatic
#582285 #792FB6 #9750D2 #B481DF #D1B1EB

Accessibility & contrast

On white

4.78
#9750D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9750D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D2#FFFFFF#000000##FFFFFF
##9750D21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#8D6A8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9750d2;
/* rgb */ color: rgb(151, 80, 210);
/* oklch */ color: oklch(57.6% 0.196 306.4);
Tailwind
colors: {
  custom: {
    50: '#b985e0',
    500: '#9750d2',
    950: '#000000',
  },
}
SCSS
$custom: #9750d2;
$custom-light: #b985e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d2",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 272.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.19573,
    "h": 306.4
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

primary
#9750D2
secondary
#BCD9A4
accent
#E2468D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9750D2

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

Preview Lab → · Contrast checker → · Palette generator →

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