#9768DF#9768DF

#9768DF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 62.0% C 0.176 H 299.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9768DF
RGBrgb(151, 104, 223)
HSLhsl(264, 65%, 64%)
HSVhsv(264, 53%, 87%)
CMYKcmyk(32.3%, 53.4%, 0%, 12.5%)
CIE-LABlab(53.82, 43.32, -54.16)
CIE-LCHlch(53.82, 69.36, 308.66°)
OKLaboklab(62% 0.0865 -0.153)
OKLCHoklch(62% 0.176 299.5)
XYZxyz(31.0289, 21.8074, 72.3722)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768DF #B0DF68
analogous
#6875DF #9768DF #D268DF
triadic
#9768DF #DF9768 #68DF97
tetradic
#9768DF #DF6875 #B0DF68 #68DFD2
square
#9768DF #DF6875 #B0DF68 #68DFD2
split-complementary
#9768DF #DFD268 #75DF68
monochromatic
#5824A9 #7436D4 #9768DF #BA9BEA #DDCDF4

Accessibility & contrast

On white

3.92
#9768DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9768DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768DF#FFFFFF#000000##000000
##9768DF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#887F9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9768df;
/* rgb */ color: rgb(151, 104, 223);
/* oklch */ color: oklch(62.0% 0.176 299.5);
Tailwind
colors: {
  custom: {
    50: '#b994e9',
    500: '#9768df',
    950: '#000000',
  },
}
SCSS
$custom: #9768df;
$custom-light: #b994e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9768df",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 263.697,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.17578,
    "h": 299.5
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#9768DF
secondary
#D6E6BD
accent
#CD1986
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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