#9758BC#9758BC

#9758BC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.159 H 311.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9758BC
RGBrgb(151, 88, 188)
HSLhsl(278, 43%, 54%)
HSVhsv(278, 53%, 74%)
CMYKcmyk(19.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(48.50, 43.74, -42.63)
CIE-LCHlch(48.50, 61.08, 315.74°)
OKLaboklab(57.44% 0.1054 -0.1193)
OKLCHoklch(57.44% 0.159 311.5)
XYZxyz(25.3277, 17.1901, 49.5510)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758BC #7DBC58
analogous
#6558BC #9758BC #BC58AF
triadic
#9758BC #BC9758 #58BC97
tetradic
#9758BC #BC6558 #7DBC58 #58AFBC
square
#9758BC #BC6558 #7DBC58 #58AFBC
split-complementary
#9758BC #AFBC58 #58BC65
monochromatic
#552C6E #773E99 #9758BC #B284CE #CDAFDF

Accessibility & contrast

On white

4.73
#9758BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9758BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9758BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758BC#FFFFFF#000000##FFFFFF
##9758BC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#936982
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9758bc;
/* rgb */ color: rgb(151, 88, 188);
/* oklch */ color: oklch(57.4% 0.159 311.5);
Tailwind
colors: {
  custom: {
    50: '#b889d0',
    500: '#9758bc',
    950: '#000000',
  },
}
SCSS
$custom: #9758bc;
$custom-light: #b889d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9758bc",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 277.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.15917,
    "h": 311.5
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#9758BC
secondary
#B2CDA3
accent
#D35584
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9758BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9758BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva