#9765DF#9765DF

#9765DF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.180 H 300.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9765DF
RGBrgb(151, 101, 223)
HSLhsl(265, 66%, 64%)
HSVhsv(265, 55%, 87%)
CMYKcmyk(32.3%, 54.7%, 0%, 12.5%)
CIE-LABlab(53.18, 44.98, -55.18)
CIE-LCHlch(53.18, 71.19, 309.18°)
OKLaboklab(61.53% 0.0903 -0.156)
OKLCHoklch(61.53% 0.18 300.1)
XYZxyz(30.7323, 21.2142, 72.2734)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765DF #ADDF65
analogous
#6570DF #9765DF #D465DF
triadic
#9765DF #DF9765 #65DF97
tetradic
#9765DF #DF6570 #ADDF65 #65DFD4
square
#9765DF #DF6570 #ADDF65 #65DFD4
split-complementary
#9765DF #DFD465 #70DF65
monochromatic
#5923A7 #7532D4 #9765DF #B998EA #DBCAF4

Accessibility & contrast

On white

4.01
#9765DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9765DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765DF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765DF#FFFFFF#000000##000000
##9765DF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#887D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9765df;
/* rgb */ color: rgb(151, 101, 223);
/* oklch */ color: oklch(61.5% 0.180 300.1);
Tailwind
colors: {
  custom: {
    50: '#b992ea',
    500: '#9765df',
    950: '#000000',
  },
}
SCSS
$custom: #9765df;
$custom-light: #b992ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9765df",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 264.59,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.18025,
    "h": 300.1
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#9765DF
secondary
#D4E6BA
accent
#CD1883
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765DF

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

Preview Lab → · Contrast checker → · Palette generator →

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