#9765B2#9765B2

#9765B2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.0% C 0.126 H 312.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9765B2
RGBrgb(151, 101, 178)
HSLhsl(279, 33%, 55%)
HSVhsv(279, 43%, 70%)
CMYKcmyk(15.2%, 43.3%, 0%, 30.2%)
CIE-LABlab(50.81, 34.32, -33.19)
CIE-LCHlch(50.81, 47.74, 315.96°)
OKLaboklab(58.99% 0.0855 -0.092)
OKLCHoklch(58.99% 0.126 312.9)
XYZxyz(25.4507, 19.1015, 44.4571)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765B2 #80B265
analogous
#7165B2 #9765B2 #B265A7
triadic
#9765B2 #B29765 #65B297
tetradic
#9765B2 #B27165 #80B265 #65A7B2
square
#9765B2 #B27165 #80B265 #65A7B2
split-complementary
#9765B2 #A7B265 #65B271
monochromatic
#563468 #784991 #9765B2 #B38EC6 #CEB7DB

Accessibility & contrast

On white

4.36
#9765B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9765B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765B2#FFFFFF#000000##000000
##9765B21.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)
#5676B5
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#957083
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9765b2;
/* rgb */ color: rgb(151, 101, 178);
/* oklch */ color: oklch(59.0% 0.126 312.9);
Tailwind
colors: {
  custom: {
    50: '#b792c9',
    500: '#9765b2',
    950: '#000000',
  },
}
SCSS
$custom: #9765b2;
$custom-light: #b792c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9765b2",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 278.961,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.12558,
    "h": 312.9
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#9765B2
secondary
#B5CAA9
accent
#C95E84
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9765B2

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

Preview Lab → · Contrast checker → · Palette generator →

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