#9868BE#9868BE

#9868BE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.135 H 308.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9868BE
RGBrgb(152, 104, 190)
HSLhsl(273, 40%, 58%)
HSVhsv(273, 45%, 75%)
CMYKcmyk(20%, 45.3%, 0%, 25.5%)
CIE-LABlab(52.17, 35.63, -37.98)
CIE-LCHlch(52.17, 52.08, 313.17°)
OKLaboklab(60.22% 0.0844 -0.1058)
OKLCHoklch(60.22% 0.135 308.6)
XYZxyz(27.1917, 20.2941, 51.1899)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868BE #8EBE68
analogous
#6D68BE #9868BE #BE68B9
triadic
#9868BE #BE9868 #68BE98
tetradic
#9868BE #BE6D68 #8EBE68 #68B9BE
square
#9868BE #BE6D68 #8EBE68 #68B9BE
split-complementary
#9868BE #B9BE68 #68BE6D
monochromatic
#5A3478 #7A46A3 #9868BE #B593D0 #D2BEE3

Accessibility & contrast

On white

4.15
#9868BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9868BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868BE#FFFFFF#000000##000000
##9868BE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#93768A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9868be;
/* rgb */ color: rgb(152, 104, 190);
/* oklch */ color: oklch(60.2% 0.135 308.6);
Tailwind
colors: {
  custom: {
    50: '#b894d2',
    500: '#9868be',
    950: '#000000',
  },
}
SCSS
$custom: #9868be;
$custom-light: #b894d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9868be",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 273.488,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60222,
    "c": 0.13535,
    "h": 308.6
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#9868BE
secondary
#BFD2B0
accent
#D0588D
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9868BE

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

Preview Lab → · Contrast checker → · Palette generator →

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