#9765CC#9765CC

#9765CC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.157 H 304.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9765CC
RGBrgb(151, 101, 204)
HSLhsl(269, 50%, 60%)
HSVhsv(269, 50%, 80%)
CMYKcmyk(26%, 50.5%, 0%, 20%)
CIE-LABlab(52.11, 40.33, -46.10)
CIE-LCHlch(52.11, 61.25, 311.18°)
OKLaboklab(60.39% 0.0891 -0.1294)
OKLCHoklch(60.39% 0.157 304.5)
XYZxyz(28.3129, 20.2464, 59.5314)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765CC #9ACC65
analogous
#6567CC #9765CC #CA65CC
triadic
#9765CC #CC9765 #65CC97
tetradic
#9765CC #CC6567 #9ACC65 #65CCCA
square
#9765CC #CC6567 #9ACC65 #65CCCA
split-complementary
#9765CC #CCCA65 #67CC65
monochromatic
#5A2D89 #783DB7 #9765CC #B693DB #D5C1EA

Accessibility & contrast

On white

4.16
#9765CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9765CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765CC#FFFFFF#000000##000000
##9765CC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#8E778F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9765cc;
/* rgb */ color: rgb(151, 101, 204);
/* oklch */ color: oklch(60.4% 0.157 304.5);
Tailwind
colors: {
  custom: {
    50: '#b892dc',
    500: '#9765cc',
    950: '#000000',
  },
}
SCSS
$custom: #9765cc;
$custom-light: #b892dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9765cc",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 269.126,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.15714,
    "h": 304.5
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#9765CC
secondary
#C7DAB2
accent
#DA4E96
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765CC

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

Preview Lab → · Contrast checker → · Palette generator →

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