#875CA7#875CA7

#875CA7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.1% C 0.121 H 309.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#875CA7
RGBrgb(135, 92, 167)
HSLhsl(274, 30%, 51%)
HSVhsv(274, 45%, 65%)
CMYKcmyk(19.2%, 44.9%, 0%, 34.5%)
CIE-LABlab(46.44, 32.14, -33.73)
CIE-LCHlch(46.44, 46.59, 313.61°)
OKLaboklab(55.14% 0.077 -0.0938)
OKLCHoklch(55.14% 0.121 309.4)
XYZxyz(20.7926, 15.5955, 38.4666)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CA7 #7CA75C
analogous
#615CA7 #875CA7 #A75CA1
triadic
#875CA7 #A7875C #5CA787
tetradic
#875CA7 #A7615C #7CA75C #5CA1A7
square
#875CA7 #A7615C #7CA75C #5CA1A7
split-complementary
#875CA7 #A1A75C #5CA761
monochromatic
#473059 #674580 #875CA7 #A484BC #C2ABD2

Accessibility & contrast

On white

5.10
#875CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#875CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CA7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CA7#FFFFFF#000000##FFFFFF
##875CA71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#836879
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875ca7;
/* rgb */ color: rgb(135, 92, 167);
/* oklch */ color: oklch(55.1% 0.121 309.4);
Tailwind
colors: {
  custom: {
    50: '#ab8bc1',
    500: '#875ca7',
    950: '#000000',
  },
}
SCSS
$custom: #875ca7;
$custom-light: #ab8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#875ca7",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 274.4,
    "s": 29.88,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.12136,
    "h": 309.4
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#875CA7
secondary
#ADC09F
accent
#C6628D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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