#875CB3#875CB3

#875CB3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.136 H 305.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#875CB3
RGBrgb(135, 92, 179)
HSLhsl(270, 36%, 53%)
HSVhsv(270, 49%, 70%)
CMYKcmyk(24.6%, 48.6%, 0%, 29.8%)
CIE-LABlab(47.05, 35.00, -39.80)
CIE-LCHlch(47.05, 53.00, 311.33°)
OKLaboklab(55.8% 0.0787 -0.1115)
OKLCHoklch(55.8% 0.136 305.2)
XYZxyz(21.9538, 16.0600, 44.5824)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CB3 #88B35C
analogous
#5C5CB3 #875CB3 #B25CB3
triadic
#875CB3 #B3875C #5CB387
tetradic
#875CB3 #B35C5C #88B35C #5CB3B2
square
#875CB3 #B35C5C #88B35C #5CB3B2
split-complementary
#875CB3 #B3B25C #5CB35C
monochromatic
#4A2F65 #68438F #875CB3 #A686C6 #C4AFDA

Accessibility & contrast

On white

4.99
#875CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#875CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CB3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CB3#FFFFFF#000000##FFFFFF
##875CB31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB6
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#806B7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875cb3;
/* rgb */ color: rgb(135, 92, 179);
/* oklch */ color: oklch(55.8% 0.136 305.2);
Tailwind
colors: {
  custom: {
    50: '#ac8bca',
    500: '#875cb3',
    950: '#000000',
  },
}
SCSS
$custom: #875cb3;
$custom-light: #ac8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#875cb3",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 269.655,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.13644,
    "h": 305.2
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#875CB3
secondary
#B6C8A3
accent
#CC5B95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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