#875FB3#875FB3

#875FB3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.131 H 304.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#875FB3
RGBrgb(135, 95, 179)
HSLhsl(269, 36%, 54%)
HSVhsv(269, 47%, 70%)
CMYKcmyk(24.6%, 46.9%, 0%, 29.8%)
CIE-LABlab(47.74, 33.27, -38.72)
CIE-LCHlch(47.74, 51.05, 310.67°)
OKLaboklab(56.31% 0.0745 -0.1083)
OKLCHoklch(56.31% 0.131 304.5)
XYZxyz(22.2188, 16.5901, 44.6708)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FB3 #8BB35F
analogous
#5F61B3 #875FB3 #B15FB3
triadic
#875FB3 #B3875F #5FB387
tetradic
#875FB3 #B35F61 #8BB35F #5FB3B1
square
#875FB3 #B35F61 #8BB35F #5FB3B1
split-complementary
#875FB3 #B3B15F #61B35F
monochromatic
#4B3167 #694590 #875FB3 #A688C7 #C5B2DA

Accessibility & contrast

On white

4.86
#875FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#875FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FB3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FB3#FFFFFF#000000##FFFFFF
##875FB31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#806D80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875fb3;
/* rgb */ color: rgb(135, 95, 179);
/* oklch */ color: oklch(56.3% 0.131 304.5);
Tailwind
colors: {
  custom: {
    50: '#ac8dca',
    500: '#875fb3',
    950: '#000000',
  },
}
SCSS
$custom: #875fb3;
$custom-light: #ac8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#875fb3",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 268.571,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.13143,
    "h": 304.5
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#875FB3
secondary
#B8C9A5
accent
#CC5C97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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