#875FB2#875FB2

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

Color values

HEX#875FB2
RGBrgb(135, 95, 178)
HSLhsl(269, 35%, 54%)
HSVhsv(269, 47%, 70%)
CMYKcmyk(24.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(47.69, 33.03, -38.21)
CIE-LCHlch(47.69, 50.51, 310.84°)
OKLaboklab(56.25% 0.0743 -0.1068)
OKLCHoklch(56.25% 0.13 304.8)
XYZxyz(22.1181, 16.5498, 44.1401)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FB2 #8AB25F
analogous
#5F60B2 #875FB2 #B05FB2
triadic
#875FB2 #B2875F #5FB287
tetradic
#875FB2 #B25F60 #8AB25F #5FB2B0
square
#875FB2 #B25F60 #8AB25F #5FB2B0
split-complementary
#875FB2 #B2B05F #60B25F
monochromatic
#4A3166 #69458F #875FB2 #A688C6 #C5B2DA

Accessibility & contrast

On white

4.87
#875FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#875FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FB2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FB2#FFFFFF#000000##FFFFFF
##875FB21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#806D80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875fb2;
/* rgb */ color: rgb(135, 95, 178);
/* oklch */ color: oklch(56.3% 0.130 304.8);
Tailwind
colors: {
  custom: {
    50: '#ac8dc9',
    500: '#875fb2',
    950: '#000000',
  },
}
SCSS
$custom: #875fb2;
$custom-light: #ac8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#875fb2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 268.916,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.13015,
    "h": 304.8
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#875FB2
secondary
#B7C8A5
accent
#CB5D96
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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