#9765DB#9765DB

#9765DB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.175 H 300.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9765DB
RGBrgb(151, 101, 219)
HSLhsl(265, 62%, 63%)
HSVhsv(265, 54%, 86%)
CMYKcmyk(31.1%, 53.9%, 0%, 14.1%)
CIE-LABlab(52.95, 43.98, -53.29)
CIE-LCHlch(52.95, 69.10, 309.53°)
OKLaboklab(61.28% 0.0901 -0.1505)
OKLCHoklch(61.28% 0.175 300.9)
XYZxyz(30.1994, 21.0010, 69.4667)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765DB #A9DB65
analogous
#656EDB #9765DB #D265DB
triadic
#9765DB #DB9765 #65DB97
tetradic
#9765DB #DB656E #A9DB65 #65DBD2
square
#9765DB #DB656E #A9DB65 #65DBD2
split-complementary
#9765DB #DBD265 #6EDB65
monochromatic
#5925A0 #7633CF #9765DB #B897E7 #DAC8F2

Accessibility & contrast

On white

4.04
#9765DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9765DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765DB#FFFFFF#000000##000000
##9765DB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#897C96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9765db;
/* rgb */ color: rgb(151, 101, 219);
/* oklch */ color: oklch(61.3% 0.175 300.9);
Tailwind
colors: {
  custom: {
    50: '#b992e7',
    500: '#9765db',
    950: '#000000',
  },
}
SCSS
$custom: #9765db;
$custom-light: #b992e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9765db",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 265.424,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.17541,
    "h": 300.9
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#9765DB
secondary
#D1E3B9
accent
#CA1C80
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765DB

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

Preview Lab → · Contrast checker → · Palette generator →

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