#875BD3#875BD3

#875BD3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.178 H 297.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#875BD3
RGBrgb(135, 91, 211)
HSLhsl(262, 58%, 59%)
HSVhsv(262, 57%, 83%)
CMYKcmyk(36%, 56.9%, 0%, 17.3%)
CIE-LABlab(48.68, 43.63, -55.68)
CIE-LCHlch(48.68, 70.74, 308.08°)
OKLaboklab(57.6% 0.082 -0.1579)
OKLCHoklch(57.6% 0.178 297.4)
XYZxyz(25.4877, 17.3359, 63.6187)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD3 #A7D35B
analogous
#5B6BD3 #875BD3 #C35BD3
triadic
#875BD3 #D3875B #5BD387
tetradic
#875BD3 #D35B6B #A7D35B #5BD3C3
square
#875BD3 #D35B6B #A7D35B #5BD3C3
split-complementary
#875BD3 #D3C35B #6BD35B
monochromatic
#4C268E #6633BE #875BD3 #AA8BE0 #CEBCED

Accessibility & contrast

On white

4.70
#875BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#875BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD3#FFFFFF#000000##FFFFFF
##875BD31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#3172D0
Tritanopia (blue-blind)
#76748E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875bd3;
/* rgb */ color: rgb(135, 91, 211);
/* oklch */ color: oklch(57.6% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#ae8be1',
    500: '#875bd3',
    950: '#000000',
  },
}
SCSS
$custom: #875bd3;
$custom-light: #ae8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd3",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 262,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.17795,
    "h": 297.4
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#875BD3
secondary
#CBDCAD
accent
#E147A8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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