#9765CF#9765CF

#9765CF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.161 H 303.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9765CF
RGBrgb(151, 101, 207)
HSLhsl(268, 52%, 60%)
HSVhsv(268, 51%, 81%)
CMYKcmyk(27.1%, 51.2%, 0%, 18.8%)
CIE-LABlab(52.28, 41.05, -47.55)
CIE-LCHlch(52.28, 62.82, 310.80°)
OKLaboklab(60.57% 0.0894 -0.1337)
OKLCHoklch(60.57% 0.161 303.8)
XYZxyz(28.6762, 20.3917, 61.4447)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765CF #9DCF65
analogous
#6568CF #9765CF #CC65CF
triadic
#9765CF #CF9765 #65CF97
tetradic
#9765CF #CF6568 #9DCF65 #65CFCC
square
#9765CF #CF6568 #9DCF65 #65CFCC
split-complementary
#9765CF #CFCC65 #68CF65
monochromatic
#5A2C8D #783BBC #9765CF #B794DE #D6C2EC

Accessibility & contrast

On white

4.14
#9765CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9765CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765CF#FFFFFF#000000##000000
##9765CF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#8D7891
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9765cf;
/* rgb */ color: rgb(151, 101, 207);
/* oklch */ color: oklch(60.6% 0.161 303.8);
Tailwind
colors: {
  custom: {
    50: '#b892de',
    500: '#9765cf',
    950: '#000000',
  },
}
SCSS
$custom: #9765cf;
$custom-light: #b892de;
$custom-dark: #000000;
JSON
{
  "hex": "#9765cf",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 268.302,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.1608,
    "h": 303.8
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#9765CF
secondary
#C9DCB4
accent
#C02677
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765CF

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

Preview Lab → · Contrast checker → · Palette generator →

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