#9765AF#9765AF

#9765AF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 58.8% C 0.122 H 314.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9765AF
RGBrgb(151, 101, 175)
HSLhsl(281, 32%, 54%)
HSVhsv(281, 42%, 69%)
CMYKcmyk(13.7%, 42.3%, 0%, 31.4%)
CIE-LABlab(50.67, 33.65, -31.66)
CIE-LCHlch(50.67, 46.21, 316.74°)
OKLaboklab(58.84% 0.085 -0.0876)
OKLCHoklch(58.84% 0.122 314.1)
XYZxyz(25.1528, 18.9824, 42.8881)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765AF #7DAF65
analogous
#7265AF #9765AF #AF65A2
triadic
#9765AF #AF9765 #65AF97
tetradic
#9765AF #AF7265 #7DAF65 #65A2AF
square
#9765AF #AF7265 #7DAF65 #65A2AF
split-complementary
#9765AF #A2AF65 #65AF72
monochromatic
#553565 #77498D #9765AF #B28DC4 #CDB6D9

Accessibility & contrast

On white

4.38
#9765AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9765AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765AF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765AF#FFFFFF#000000##000000
##9765AF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#956F82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9765af;
/* rgb */ color: rgb(151, 101, 175);
/* oklch */ color: oklch(58.8% 0.122 314.1);
Tailwind
colors: {
  custom: {
    50: '#b792c7',
    500: '#9765af',
    950: '#000000',
  },
}
SCSS
$custom: #9765af;
$custom-light: #b792c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9765af",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 175
  },
  "hsl": {
    "h": 280.541,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.122,
    "h": 314.1
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#9765AF
secondary
#B2C8A8
accent
#C86082
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9765AF

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

Preview Lab → · Contrast checker → · Palette generator →

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