#9758BF#9758BF

#9758BF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.163 H 310.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9758BF
RGBrgb(151, 88, 191)
HSLhsl(277, 45%, 55%)
HSVhsv(277, 54%, 75%)
CMYKcmyk(20.9%, 53.9%, 0%, 25.1%)
CIE-LABlab(48.66, 44.42, -44.11)
CIE-LCHlch(48.66, 62.60, 315.20°)
OKLaboklab(57.61% 0.1056 -0.1236)
OKLCHoklch(57.61% 0.163 310.5)
XYZxyz(25.6544, 17.3208, 51.2719)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758BF #80BF58
analogous
#6458BF #9758BF #BF58B4
triadic
#9758BF #BF9758 #58BF97
tetradic
#9758BF #BF6458 #80BF58 #58B4BF
square
#9758BF #BF6458 #80BF58 #58B4BF
split-complementary
#9758BF #B4BF58 #58BF64
monochromatic
#562B71 #783C9D #9758BF #B384D0 #CEB0E1

Accessibility & contrast

On white

4.70
#9758BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9758BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9758BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758BF#FFFFFF#000000##FFFFFF
##9758BF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#4F75BC
Tritanopia (blue-blind)
#926A83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9758bf;
/* rgb */ color: rgb(151, 88, 191);
/* oklch */ color: oklch(57.6% 0.163 310.5);
Tailwind
colors: {
  custom: {
    50: '#b889d3',
    500: '#9758bf',
    950: '#000000',
  },
}
SCSS
$custom: #9758bf;
$custom-light: #b889d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9758bf",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 276.699,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.16257,
    "h": 310.5
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#9758BF
secondary
#B5CFA4
accent
#D45486
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9758BF

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

Preview Lab → · Contrast checker → · Palette generator →

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