#9765CE#9765CE

#9765CE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.160 H 304.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9765CE
RGBrgb(151, 101, 206)
HSLhsl(269, 52%, 60%)
HSVhsv(269, 51%, 81%)
CMYKcmyk(26.7%, 51%, 0%, 19.2%)
CIE-LABlab(52.22, 40.81, -47.07)
CIE-LCHlch(52.22, 62.30, 310.92°)
OKLaboklab(60.51% 0.0893 -0.1323)
OKLCHoklch(60.51% 0.16 304)
XYZxyz(28.5543, 20.3430, 60.8028)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765CE #9CCE65
analogous
#6568CE #9765CE #CB65CE
triadic
#9765CE #CE9765 #65CE97
tetradic
#9765CE #CE6568 #9CCE65 #65CECB
square
#9765CE #CE6568 #9CCE65 #65CECB
split-complementary
#9765CE #CECB65 #68CE65
monochromatic
#5A2D8C #783BBA #9765CE #B693DD #D6C2EC

Accessibility & contrast

On white

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

On black

5.07
#9765CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765CE#FFFFFF#000000##000000
##9765CE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#527DCB
Tritanopia (blue-blind)
#8D7890
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9765ce;
/* rgb */ color: rgb(151, 101, 206);
/* oklch */ color: oklch(60.5% 0.160 304.0);
Tailwind
colors: {
  custom: {
    50: '#b892dd',
    500: '#9765ce',
    950: '#000000',
  },
}
SCSS
$custom: #9765ce;
$custom-light: #b892dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ce",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 268.571,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.15958,
    "h": 304
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#9765CE
secondary
#C8DCB3
accent
#BF2676
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765CE

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

Preview Lab → · Contrast checker → · Palette generator →

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