#9765BA#9765BA

#9765BA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.135 H 310.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9765BA
RGBrgb(151, 101, 186)
HSLhsl(275, 38%, 56%)
HSVhsv(275, 46%, 73%)
CMYKcmyk(18.8%, 45.7%, 0%, 27.1%)
CIE-LABlab(51.19, 36.12, -37.22)
CIE-LCHlch(51.19, 51.87, 314.14°)
OKLaboklab(59.4% 0.0869 -0.1036)
OKLCHoklch(59.4% 0.135 310)
XYZxyz(26.2775, 19.4322, 48.8114)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765BA #88BA65
analogous
#6D65BA #9765BA #BA65B3
triadic
#9765BA #BA9765 #65BA97
tetradic
#9765BA #BA6D65 #88BA65 #65B3BA
square
#9765BA #BA6D65 #88BA65 #65B3BA
split-complementary
#9765BA #B3BA65 #65BA6D
monochromatic
#583372 #78469C #9765BA #B48FCD #D0BAE0

Accessibility & contrast

On white

4.30
#9765BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9765BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765BA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765BA#FFFFFF#000000##000000
##9765BA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#937287
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9765ba;
/* rgb */ color: rgb(151, 101, 186);
/* oklch */ color: oklch(59.4% 0.135 310.0);
Tailwind
colors: {
  custom: {
    50: '#b792cf',
    500: '#9765ba',
    950: '#000000',
  },
}
SCSS
$custom: #9765ba;
$custom-light: #b792cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ba",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 275.294,
    "s": 38.117,
    "l": 56.275
  },
  "oklch": {
    "l": 0.594,
    "c": 0.13522,
    "h": 310
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

primary
#9765BA
secondary
#BACFAC
accent
#CE5A8A
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9765BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9765BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva