#9771CD#9771CD

#9771CD is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.5% C 0.139 H 301.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9771CD
RGBrgb(151, 113, 205)
HSLhsl(265, 48%, 62%)
HSVhsv(265, 45%, 80%)
CMYKcmyk(26.3%, 44.9%, 0%, 19.6%)
CIE-LABlab(54.86, 33.79, -42.32)
CIE-LCHlch(54.86, 54.16, 308.61°)
OKLaboklab(62.46% 0.0728 -0.1184)
OKLCHoklch(62.46% 0.139 301.6)
XYZxyz(29.6846, 22.7973, 60.5822)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9771CD #A7CD71
analogous
#7179CD #9771CD #C571CD
triadic
#9771CD #CD9771 #71CD97
tetradic
#9771CD #CD7179 #A7CD71 #71CDC5
square
#9771CD #CD7179 #A7CD71 #71CDC5
split-complementary
#9771CD #CDC571 #79CD71
monochromatic
#5A3391 #7644BD #9771CD #B89EDD #D9CCED

Accessibility & contrast

On white

3.78
#9771CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9771CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9771CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9771CD#FFFFFF#000000##000000
##9771CD1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#8D8195
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9771cd;
/* rgb */ color: rgb(151, 113, 205);
/* oklch */ color: oklch(62.5% 0.139 301.6);
Tailwind
colors: {
  custom: {
    50: '#b89adc',
    500: '#9771cd',
    950: '#000000',
  },
}
SCSS
$custom: #9771cd;
$custom-light: #b89adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9771cd",
  "rgb": {
    "r": 151,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 264.783,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.13902,
    "h": 301.6
  },
  "luminance": 0.22797
}

Semantic roles & 50–950 ramp

primary
#9771CD
secondary
#D0DEBC
accent
#BB2A7F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9771CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9771CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva