#9765AC#9765AC

#9765AC is a mid, moderate purple. Relative luminance 0.189; OKLCH L 58.7% C 0.118 H 315.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9765AC
RGBrgb(151, 101, 172)
HSLhsl(282, 30%, 54%)
HSVhsv(282, 41%, 67%)
CMYKcmyk(12.2%, 41.3%, 0%, 32.5%)
CIE-LABlab(50.53, 33.00, -30.13)
CIE-LCHlch(50.53, 44.69, 317.60°)
OKLaboklab(58.69% 0.0844 -0.0831)
OKLCHoklch(58.69% 0.118 315.4)
XYZxyz(24.8614, 18.8658, 41.3535)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765AC #7AAC65
analogous
#7365AC #9765AC #AC659D
triadic
#9765AC #AC9765 #65AC97
tetradic
#9765AC #AC7365 #7AAC65 #659DAC
square
#9765AC #AC7365 #7AAC65 #659DAC
split-complementary
#9765AC #9DAC65 #65AC73
monochromatic
#553562 #774A8A #9765AC #B28DC1 #CDB5D7

Accessibility & contrast

On white

4.40
#9765AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9765AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765AC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765AC#FFFFFF#000000##000000
##9765AC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#966F80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9765ac;
/* rgb */ color: rgb(151, 101, 172);
/* oklch */ color: oklch(58.7% 0.118 315.4);
Tailwind
colors: {
  custom: {
    50: '#b792c5',
    500: '#9765ac',
    950: '#000000',
  },
}
SCSS
$custom: #9765ac;
$custom-light: #b792c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ac",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 282.254,
    "s": 29.958,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.11844,
    "h": 315.4
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#9765AC
secondary
#B0C6A7
accent
#C6627F
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9765AC

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

Preview Lab → · Contrast checker → · Palette generator →

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