#9762BF#9762BF

#9762BF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.146 H 308.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9762BF
RGBrgb(151, 98, 191)
HSLhsl(274, 42%, 57%)
HSVhsv(274, 49%, 75%)
CMYKcmyk(20.9%, 48.7%, 0%, 25.1%)
CIE-LABlab(50.78, 38.94, -40.76)
CIE-LCHlch(50.78, 56.37, 313.69°)
OKLaboklab(59.17% 0.0918 -0.1139)
OKLCHoklch(59.17% 0.146 308.9)
XYZxyz(26.5323, 19.0766, 51.5645)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762BF #8ABF62
analogous
#6962BF #9762BF #BF62B8
triadic
#9762BF #BF9762 #62BF97
tetradic
#9762BF #BF6962 #8ABF62 #62B8BF
square
#9762BF #BF6962 #8ABF62 #62B8BF
split-complementary
#9762BF #B8BF62 #62BF69
monochromatic
#583076 #7942A2 #9762BF #B48DD1 #D1B9E2

Accessibility & contrast

On white

4.36
#9762BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9762BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762BF#FFFFFF#000000##000000
##9762BF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C2
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#927188
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9762bf;
/* rgb */ color: rgb(151, 98, 191);
/* oklch */ color: oklch(59.2% 0.146 308.9);
Tailwind
colors: {
  custom: {
    50: '#b890d3',
    500: '#9762bf',
    950: '#000000',
  },
}
SCSS
$custom: #9762bf;
$custom-light: #b890d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9762bf",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 274.194,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.14629,
    "h": 308.9
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#9762BF
secondary
#BCD1AB
accent
#D2568B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120D14
muted
#817D83

Preview Lab

Preview with #9762BF

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

Preview Lab → · Contrast checker → · Palette generator →

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