#9767CF#9767CF

#9767CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.158 H 303.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9767CF
RGBrgb(151, 103, 207)
HSLhsl(268, 52%, 61%)
HSVhsv(268, 50%, 81%)
CMYKcmyk(27.1%, 50.2%, 0%, 18.8%)
CIE-LABlab(52.71, 39.94, -46.86)
CIE-LCHlch(52.71, 61.57, 310.44°)
OKLaboklab(60.89% 0.0867 -0.1317)
OKLCHoklch(60.89% 0.158 303.4)
XYZxyz(28.8728, 20.7848, 61.5102)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767CF #9FCF67
analogous
#676BCF #9767CF #CB67CF
triadic
#9767CF #CF9767 #67CF97
tetradic
#9767CF #CF676B #9FCF67 #67CFCB
square
#9767CF #CF676B #9FCF67 #67CFCB
split-complementary
#9767CF #CFCB67 #6BCF67
monochromatic
#5A2D8F #773CBD #9767CF #B796DE #D7C4EC

Accessibility & contrast

On white

4.07
#9767CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9767CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767CF#FFFFFF#000000##000000
##9767CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#8D7A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9767cf;
/* rgb */ color: rgb(151, 103, 207);
/* oklch */ color: oklch(60.9% 0.158 303.4);
Tailwind
colors: {
  custom: {
    50: '#b893de',
    500: '#9767cf',
    950: '#000000',
  },
}
SCSS
$custom: #9767cf;
$custom-light: #b893de;
$custom-dark: #000000;
JSON
{
  "hex": "#9767cf",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 207
  },
  "hsl": {
    "h": 267.692,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.15763,
    "h": 303.4
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#9767CF
secondary
#CADDB5
accent
#BF2679
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9767CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9767CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva