#9765D2#9765D2

#9765D2 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.164 H 303.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9765D2
RGBrgb(151, 101, 210)
HSLhsl(268, 55%, 61%)
HSVhsv(268, 52%, 82%)
CMYKcmyk(28.1%, 51.9%, 0%, 17.6%)
CIE-LABlab(52.44, 41.78, -49.00)
CIE-LCHlch(52.44, 64.39, 310.45°)
OKLaboklab(60.74% 0.0896 -0.1379)
OKLCHoklch(60.74% 0.164 303)
XYZxyz(29.0464, 20.5398, 63.3946)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765D2 #A0D265
analogous
#6569D2 #9765D2 #CD65D2
triadic
#9765D2 #D29765 #65D297
tetradic
#9765D2 #D26569 #A0D265 #65D2CD
square
#9765D2 #D26569 #A0D265 #65D2CD
split-complementary
#9765D2 #D2CD65 #69D265
monochromatic
#5A2B92 #7738C1 #9765D2 #B794E0 #D7C4EE

Accessibility & contrast

On white

4.11
#9765D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9765D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765D2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765D2#FFFFFF#000000##000000
##9765D21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#4F7DCF
Tritanopia (blue-blind)
#8C7992
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9765d2;
/* rgb */ color: rgb(151, 101, 210);
/* oklch */ color: oklch(60.7% 0.164 303.0);
Tailwind
colors: {
  custom: {
    50: '#b892e0',
    500: '#9765d2',
    950: '#000000',
  },
}
SCSS
$custom: #9765d2;
$custom-light: #b892e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9765d2",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 267.523,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.16446,
    "h": 303
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#9765D2
secondary
#CBDEB5
accent
#C22379
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765D2

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

Preview Lab → · Contrast checker → · Palette generator →

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