#9868BB#9868BB

#9868BB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.132 H 309.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9868BB
RGBrgb(152, 104, 187)
HSLhsl(275, 38%, 57%)
HSVhsv(275, 44%, 73%)
CMYKcmyk(18.7%, 44.4%, 0%, 26.7%)
CIE-LABlab(52.02, 34.94, -36.48)
CIE-LCHlch(52.02, 50.52, 313.76°)
OKLaboklab(60.07% 0.0839 -0.1015)
OKLCHoklch(60.07% 0.132 309.6)
XYZxyz(26.8672, 20.1643, 49.4808)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868BB #8BBB68
analogous
#6F68BB #9868BB #BB68B5
triadic
#9868BB #BB9868 #68BB98
tetradic
#9868BB #BB6F68 #8BBB68 #68B5BB
square
#9868BB #BB6F68 #8BBB68 #68B5BB
split-complementary
#9868BB #B5BB68 #68BB6F
monochromatic
#593474 #7A479E #9868BB #B592CE #D2BCE1

Accessibility & contrast

On white

4.17
#9868BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9868BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868BB#FFFFFF#000000##000000
##9868BB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#947589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9868bb;
/* rgb */ color: rgb(152, 104, 187);
/* oklch */ color: oklch(60.1% 0.132 309.6);
Tailwind
colors: {
  custom: {
    50: '#b894d0',
    500: '#9868bb',
    950: '#000000',
  },
}
SCSS
$custom: #9868bb;
$custom-light: #b894d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9868bb",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 274.699,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.13168,
    "h": 309.6
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#9868BB
secondary
#BDD0AF
accent
#CE5A8B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9868BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9868BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva