#9765D3#9765D3

#9765D3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.166 H 302.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9765D3
RGBrgb(151, 101, 211)
HSLhsl(267, 56%, 61%)
HSVhsv(267, 52%, 83%)
CMYKcmyk(28.4%, 52.1%, 0%, 17.3%)
CIE-LABlab(52.50, 42.02, -49.48)
CIE-LCHlch(52.50, 64.92, 310.34°)
OKLaboklab(60.8% 0.0897 -0.1393)
OKLCHoklch(60.8% 0.166 302.8)
XYZxyz(29.1714, 20.5898, 64.0528)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765D3 #A1D365
analogous
#656AD3 #9765D3 #CE65D3
triadic
#9765D3 #D39765 #65D397
tetradic
#9765D3 #D3656A #A1D365 #65D3CE
square
#9765D3 #D3656A #A1D365 #65D3CE
split-complementary
#9765D3 #D3CE65 #6AD365
monochromatic
#5A2A93 #7738C3 #9765D3 #B795E1 #D7C4EE

Accessibility & contrast

On white

4.10
#9765D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9765D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765D3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765D3#FFFFFF#000000##000000
##9765D31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#8C7A92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9765d3;
/* rgb */ color: rgb(151, 101, 211);
/* oklch */ color: oklch(60.8% 0.166 302.8);
Tailwind
colors: {
  custom: {
    50: '#b892e1',
    500: '#9765d3',
    950: '#000000',
  },
}
SCSS
$custom: #9765d3;
$custom-light: #b892e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9765d3",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 211
  },
  "hsl": {
    "h": 267.273,
    "s": 55.556,
    "l": 61.176
  },
  "oklch": {
    "l": 0.608,
    "c": 0.16567,
    "h": 302.8
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#9765D3
secondary
#CCDFB5
accent
#C3227A
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9765D3

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

Preview Lab → · Contrast checker → · Palette generator →

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