#9750D4#9750D4

#9750D4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.198 H 305.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9750D4
RGBrgb(151, 80, 212)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 62%, 83%)
CMYKcmyk(28.8%, 62.3%, 0%, 16.9%)
CIE-LABlab(48.35, 53.39, -56.69)
CIE-LCHlch(48.35, 77.87, 313.28°)
OKLaboklab(57.78% 0.116 -0.1604)
OKLCHoklch(57.78% 0.198 305.9)
XYZxyz(27.5123, 17.0703, 64.1201)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750D4 #8DD450
analogous
#5550D4 #9750D4 #D450CF
triadic
#9750D4 #D49750 #50D497
tetradic
#9750D4 #D45550 #8DD450 #50CFD4
square
#9750D4 #D45550 #8DD450 #50CFD4
split-complementary
#9750D4 #CFD450 #50D455
monochromatic
#592188 #792EB9 #9750D4 #B481E0 #D1B2EC

Accessibility & contrast

On white

4.76
#9750D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9750D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750D4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750D4#FFFFFF#000000##FFFFFF
##9750D41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#3373D1
Tritanopia (blue-blind)
#8D6B8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9750d4;
/* rgb */ color: rgb(151, 80, 212);
/* oklch */ color: oklch(57.8% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#ba85e2',
    500: '#9750d4',
    950: '#000000',
  },
}
SCSS
$custom: #9750d4;
$custom-light: #ba85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9750d4",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 272.273,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.19792,
    "h": 305.9
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#9750D4
secondary
#BEDBA5
accent
#E4448E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9750D4

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

Preview Lab → · Contrast checker → · Palette generator →

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