#9868BC#9868BC

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

Color values

HEX#9868BC
RGBrgb(152, 104, 188)
HSLhsl(274, 39%, 57%)
HSVhsv(274, 45%, 74%)
CMYKcmyk(19.1%, 44.7%, 0%, 26.3%)
CIE-LABlab(52.07, 35.17, -36.98)
CIE-LCHlch(52.07, 51.04, 313.56°)
OKLaboklab(60.12% 0.0841 -0.1029)
OKLCHoklch(60.12% 0.133 309.3)
XYZxyz(26.9746, 20.2072, 50.0466)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868BC #8CBC68
analogous
#6E68BC #9868BC #BC68B6
triadic
#9868BC #BC9868 #68BC98
tetradic
#9868BC #BC6E68 #8CBC68 #68B6BC
square
#9868BC #BC6E68 #8CBC68 #68B6BC
split-complementary
#9868BC #B6BC68 #68BC6E
monochromatic
#593475 #7A47A0 #9868BC #B592CF #D2BDE2

Accessibility & contrast

On white

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

On black

5.04
#9868BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868BC#FFFFFF#000000##000000
##9868BC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#937589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9868bc;
/* rgb */ color: rgb(152, 104, 188);
/* oklch */ color: oklch(60.1% 0.133 309.3);
Tailwind
colors: {
  custom: {
    50: '#b894d0',
    500: '#9868bc',
    950: '#000000',
  },
}
SCSS
$custom: #9868bc;
$custom-light: #b894d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9868bc",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 274.286,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.1329,
    "h": 309.3
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#9868BC
secondary
#BDD1AF
accent
#CE598C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9868BC

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

Preview Lab → · Contrast checker → · Palette generator →

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