#9765C8#9765C8

#9765C8 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.152 H 305.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9765C8
RGBrgb(151, 101, 200)
HSLhsl(270, 47%, 59%)
HSVhsv(270, 50%, 78%)
CMYKcmyk(24.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(51.90, 39.38, -44.15)
CIE-LCHlch(51.90, 59.16, 311.73°)
OKLaboklab(60.16% 0.0887 -0.1237)
OKLCHoklch(60.16% 0.152 305.6)
XYZxyz(27.8393, 20.0570, 57.0372)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765C8 #96C865
analogous
#6665C8 #9765C8 #C865C8
triadic
#9765C8 #C89765 #65C897
tetradic
#9765C8 #C86665 #96C865 #65C8C8
square
#9765C8 #C86665 #96C865 #65C8C8
split-complementary
#9765C8 #C8C865 #65C866
monochromatic
#5A2F84 #783FB1 #9765C8 #B592D8 #D4BFE8

Accessibility & contrast

On white

4.19
#9765C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9765C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765C8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765C8#FFFFFF#000000##000000
##9765C81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#8F768D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9765c8;
/* rgb */ color: rgb(151, 101, 200);
/* oklch */ color: oklch(60.2% 0.152 305.6);
Tailwind
colors: {
  custom: {
    50: '#b892d9',
    500: '#9765c8',
    950: '#000000',
  },
}
SCSS
$custom: #9765c8;
$custom-light: #b892d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9765c8",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 270.303,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.15226,
    "h": 305.6
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#9765C8
secondary
#C4D8B1
accent
#D75193
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765C8

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

Preview Lab → · Contrast checker → · Palette generator →

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