#9767D2#9767D2

#9767D2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.161 H 302.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9767D2
RGBrgb(151, 103, 210)
HSLhsl(267, 54%, 61%)
HSVhsv(267, 51%, 82%)
CMYKcmyk(28.1%, 51%, 0%, 17.6%)
CIE-LABlab(52.88, 40.67, -48.31)
CIE-LCHlch(52.88, 63.15, 310.09°)
OKLaboklab(61.06% 0.087 -0.1359)
OKLCHoklch(61.06% 0.161 302.6)
XYZxyz(29.2430, 20.9329, 63.4601)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767D2 #A2D267
analogous
#676DD2 #9767D2 #CD67D2
triadic
#9767D2 #D29767 #67D297
tetradic
#9767D2 #D2676D #A2D267 #67D2CD
square
#9767D2 #D2676D #A2D267 #67D2CD
split-complementary
#9767D2 #D2CD67 #6DD267
monochromatic
#5A2C93 #773AC2 #9767D2 #B796E0 #D8C5EE

Accessibility & contrast

On white

4.05
#9767D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9767D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767D2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767D2#FFFFFF#000000##000000
##9767D21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#8C7B93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9767d2;
/* rgb */ color: rgb(151, 103, 210);
/* oklch */ color: oklch(61.1% 0.161 302.6);
Tailwind
colors: {
  custom: {
    50: '#b894e0',
    500: '#9767d2',
    950: '#000000',
  },
}
SCSS
$custom: #9767d2;
$custom-light: #b894e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9767d2",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 210
  },
  "hsl": {
    "h": 266.916,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.16133,
    "h": 302.6
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#9767D2
secondary
#CCDEB6
accent
#C2247B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9767D2

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

Preview Lab → · Contrast checker → · Palette generator →

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