#875DBE#875DBE

#875DBE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.149 H 301.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#875DBE
RGBrgb(135, 93, 190)
HSLhsl(266, 43%, 55%)
HSVhsv(266, 51%, 75%)
CMYKcmyk(28.9%, 51.1%, 0%, 25.5%)
CIE-LABlab(47.88, 37.14, -44.89)
CIE-LCHlch(47.88, 58.26, 309.60°)
OKLaboklab(56.6% 0.0785 -0.1263)
OKLCHoklch(56.6% 0.149 301.8)
XYZxyz(23.1982, 16.6973, 50.7060)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DBE #94BE5D
analogous
#5D64BE #875DBE #B75DBE
triadic
#875DBE #BE875D #5DBE87
tetradic
#875DBE #BE5D64 #94BE5D #5DBEB7
square
#875DBE #BE5D64 #94BE5D #5DBEB7
split-complementary
#875DBE #BEB75D #64BE5D
monochromatic
#4C2E73 #69409E #875DBE #A789D0 #C8B4E1

Accessibility & contrast

On white

4.84
#875DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#875DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875DBE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DBE#FFFFFF#000000##FFFFFF
##875DBE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#7D6F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875dbe;
/* rgb */ color: rgb(135, 93, 190);
/* oklch */ color: oklch(56.6% 0.149 301.8);
Tailwind
colors: {
  custom: {
    50: '#ad8cd2',
    500: '#875dbe',
    950: '#000000',
  },
}
SCSS
$custom: #875dbe;
$custom-light: #ad8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#875dbe",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 265.979,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.1487,
    "h": 301.8
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#875DBE
secondary
#BED0A7
accent
#D3559C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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