#9765CD#9765CD

#9765CD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.158 H 304.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9765CD
RGBrgb(151, 101, 205)
HSLhsl(269, 51%, 60%)
HSVhsv(269, 51%, 80%)
CMYKcmyk(26.3%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.17, 40.57, -46.59)
CIE-LCHlch(52.17, 61.78, 311.05°)
OKLaboklab(60.45% 0.0892 -0.1309)
OKLCHoklch(60.45% 0.158 304.3)
XYZxyz(28.4332, 20.2946, 60.1651)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765CD #9BCD65
analogous
#6567CD #9765CD #CB65CD
triadic
#9765CD #CD9765 #65CD97
tetradic
#9765CD #CD6567 #9BCD65 #65CDCB
square
#9765CD #CD6567 #9BCD65 #65CDCB
split-complementary
#9765CD #CDCB65 #67CD65
monochromatic
#5A2D8B #783CB9 #9765CD #B693DC #D5C1EB

Accessibility & contrast

On white

4.15
#9765CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9765CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765CD#FFFFFF#000000##000000
##9765CD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#8E7890
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9765cd;
/* rgb */ color: rgb(151, 101, 205);
/* oklch */ color: oklch(60.4% 0.158 304.3);
Tailwind
colors: {
  custom: {
    50: '#b892dd',
    500: '#9765cd',
    950: '#000000',
  },
}
SCSS
$custom: #9765cd;
$custom-light: #b892dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9765cd",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 268.846,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.15836,
    "h": 304.3
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#9765CD
secondary
#C8DBB3
accent
#DA4D97
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765CD

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

Preview Lab → · Contrast checker → · Palette generator →

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