#9768DD#9768DD

#9768DD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.173 H 299.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9768DD
RGBrgb(151, 104, 221)
HSLhsl(264, 63%, 64%)
HSVhsv(264, 53%, 87%)
CMYKcmyk(31.7%, 52.9%, 0%, 13.3%)
CIE-LABlab(53.71, 42.82, -53.21)
CIE-LCHlch(53.71, 68.31, 308.82°)
OKLaboklab(61.88% 0.0864 -0.1502)
OKLCHoklch(61.88% 0.173 299.9)
XYZxyz(30.7609, 21.7002, 70.9605)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768DD #AEDD68
analogous
#6873DD #9768DD #D268DD
triadic
#9768DD #DD9768 #68DD97
tetradic
#9768DD #DD6873 #AEDD68 #68DDD2
square
#9768DD #DD6873 #AEDD68 #68DDD2
split-complementary
#9768DD #DDD268 #73DD68
monochromatic
#5925A5 #7536D2 #9768DD #B99AE8 #DCCCF3

Accessibility & contrast

On white

3.93
#9768DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9768DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768DD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768DD#FFFFFF#000000##000000
##9768DD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#897F99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9768dd;
/* rgb */ color: rgb(151, 104, 221);
/* oklch */ color: oklch(61.9% 0.173 299.9);
Tailwind
colors: {
  custom: {
    50: '#b994e8',
    500: '#9768dd',
    950: '#000000',
  },
}
SCSS
$custom: #9768dd;
$custom-light: #b994e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9768dd",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 264.103,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.17332,
    "h": 299.9
  },
  "luminance": 0.217
}

Semantic roles & 50–950 ramp

primary
#9768DD
secondary
#D4E5BC
accent
#CB1A84
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9768DD

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

Preview Lab → · Contrast checker → · Palette generator →

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