#9867BE#9867BE

#9867BE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.1% C 0.137 H 308.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9867BE
RGBrgb(152, 103, 190)
HSLhsl(274, 40%, 57%)
HSVhsv(274, 46%, 75%)
CMYKcmyk(20%, 45.8%, 0%, 25.5%)
CIE-LABlab(51.94, 36.20, -38.34)
CIE-LCHlch(51.94, 52.72, 313.35°)
OKLaboklab(60.05% 0.0859 -0.1068)
OKLCHoklch(60.05% 0.137 308.8)
XYZxyz(27.0916, 20.0940, 51.1565)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867BE #8DBE67
analogous
#6D67BE #9867BE #BE67B9
triadic
#9867BE #BE9867 #67BE98
tetradic
#9867BE #BE6D67 #8DBE67 #67B9BE
square
#9867BE #BE6D67 #8DBE67 #67B9BE
split-complementary
#9867BE #B9BE67 #67BE6D
monochromatic
#5A3377 #7A45A2 #9867BE #B592D0 #D2BDE3

Accessibility & contrast

On white

4.18
#9867BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9867BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867BE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867BE#FFFFFF#000000##000000
##9867BE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#937589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9867be;
/* rgb */ color: rgb(152, 103, 190);
/* oklch */ color: oklch(60.1% 0.137 308.8);
Tailwind
colors: {
  custom: {
    50: '#b893d2',
    500: '#9867be',
    950: '#000000',
  },
}
SCSS
$custom: #9867be;
$custom-light: #b893d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9867be",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 190
  },
  "hsl": {
    "h": 273.793,
    "s": 40.092,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.13705,
    "h": 308.8
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#9867BE
secondary
#BED2AF
accent
#D0588C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9867BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9867BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva