#875EB2#875EB2

#875EB2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.132 H 305.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#875EB2
RGBrgb(135, 94, 178)
HSLhsl(269, 35%, 53%)
HSVhsv(269, 47%, 70%)
CMYKcmyk(24.2%, 47.2%, 0%, 30.2%)
CIE-LABlab(47.46, 33.61, -38.58)
CIE-LCHlch(47.46, 51.16, 311.06°)
OKLaboklab(56.08% 0.0757 -0.1079)
OKLCHoklch(56.08% 0.132 305.1)
XYZxyz(22.0286, 16.3708, 44.1102)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EB2 #89B25E
analogous
#5E5FB2 #875EB2 #B15EB2
triadic
#875EB2 #B2875E #5EB287
tetradic
#875EB2 #B25E5F #89B25E #5EB2B1
square
#875EB2 #B25E5F #89B25E #5EB2B1
split-complementary
#875EB2 #B2B15E #5FB25E
monochromatic
#4A3065 #69448F #875EB2 #A687C6 #C5B1DA

Accessibility & contrast

On white

4.91
#875EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#875EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EB2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EB2#FFFFFF#000000##FFFFFF
##875EB21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#806C7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875eb2;
/* rgb */ color: rgb(135, 94, 178);
/* oklch */ color: oklch(56.1% 0.132 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac8cc9',
    500: '#875eb2',
    950: '#000000',
  },
}
SCSS
$custom: #875eb2;
$custom-light: #ac8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#875eb2",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 269.286,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.13183,
    "h": 305.1
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#875EB2
secondary
#B6C8A4
accent
#CB5C95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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