#875CB7#875CB7

#875CB7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.141 H 304.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#875CB7
RGBrgb(135, 92, 183)
HSLhsl(268, 39%, 54%)
HSVhsv(268, 50%, 72%)
CMYKcmyk(26.2%, 49.7%, 0%, 28.2%)
CIE-LABlab(47.27, 35.98, -41.79)
CIE-LCHlch(47.27, 55.15, 310.72°)
OKLaboklab(56.03% 0.0792 -0.1173)
OKLCHoklch(56.03% 0.141 304)
XYZxyz(22.3642, 16.2242, 46.7439)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CB7 #8CB75C
analogous
#5C5FB7 #875CB7 #B55CB7
triadic
#875CB7 #B7875C #5CB787
tetradic
#875CB7 #B75C5F #8CB75C #5CB7B5
square
#875CB7 #B75C5F #8CB75C #5CB7B5
split-complementary
#875CB7 #B7B55C #5FB75C
monochromatic
#4B2F6A #694294 #875CB7 #A686CA #C6B1DD

Accessibility & contrast

On white

4.95
#875CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#875CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CB7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CB7#FFFFFF#000000##FFFFFF
##875CB71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#7F6C81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875cb7;
/* rgb */ color: rgb(135, 92, 183);
/* oklch */ color: oklch(56.0% 0.141 304.0);
Tailwind
colors: {
  custom: {
    50: '#ac8bcd',
    500: '#875cb7',
    950: '#000000',
  },
}
SCSS
$custom: #875cb7;
$custom-light: #ac8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#875cb7",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 268.352,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.14149,
    "h": 304
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#875CB7
secondary
#B8CBA4
accent
#CF5997
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875CB7

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

Preview Lab → · Contrast checker → · Palette generator →

#875CB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva