#9882CD#9882CD

#9882CD is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.6% C 0.111 H 296.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9882CD
RGBrgb(152, 130, 205)
HSLhsl(258, 43%, 66%)
HSVhsv(258, 37%, 80%)
CMYKcmyk(25.9%, 36.6%, 0%, 19.6%)
CIE-LABlab(59.02, 24.29, -35.79)
CIE-LCHlch(59.02, 43.25, 304.17°)
OKLaboklab(65.63% 0.0501 -0.0995)
OKLCHoklch(65.63% 0.111 296.7)
XYZxyz(31.9484, 27.0481, 61.2834)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9882CD #B7CD82
analogous
#8291CD #9882CD #BD82CD
triadic
#9882CD #CD9882 #82CD98
tetradic
#9882CD #CD8291 #B7CD82 #82CDBD
square
#9882CD #CD8291 #B7CD82 #82CDBD
split-complementary
#9882CD #CDBD82 #91CD82
monochromatic
#573D98 #7456BC #9882CD #BCAEDE #E0D9F0

Accessibility & contrast

On white

3.28
#9882CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9882CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9882CD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9882CD#FFFFFF#000000##000000
##9882CD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ED0
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#8D8F9E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9882cd;
/* rgb */ color: rgb(152, 130, 205);
/* oklch */ color: oklch(65.6% 0.111 296.7);
Tailwind
colors: {
  custom: {
    50: '#b8a6dc',
    500: '#9882cd',
    950: '#000000',
  },
}
SCSS
$custom: #9882cd;
$custom-light: #b8a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9882cd",
  "rgb": {
    "r": 152,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 257.6,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65628,
    "c": 0.11143,
    "h": 296.7
  },
  "luminance": 0.27048
}

Semantic roles & 50–950 ramp

primary
#9882CD
secondary
#DBE2C9
accent
#B6308F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9882CD

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

Preview Lab → · Contrast checker → · Palette generator →

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