#875CD3#875CD3

#875CD3 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.176 H 297.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#875CD3
RGBrgb(135, 92, 211)
HSLhsl(262, 57%, 59%)
HSVhsv(262, 56%, 83%)
CMYKcmyk(36%, 56.4%, 0%, 17.3%)
CIE-LABlab(48.89, 43.08, -55.34)
CIE-LCHlch(48.89, 70.13, 307.90°)
OKLaboklab(57.76% 0.0808 -0.1569)
OKLCHoklch(57.76% 0.177 297.2)
XYZxyz(25.5737, 17.5080, 63.6474)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD3 #A8D35C
analogous
#5C6DD3 #875CD3 #C35CD3
triadic
#875CD3 #D3875C #5CD387
tetradic
#875CD3 #D35C6D #A8D35C #5CD3C3
square
#875CD3 #D35C6D #A8D35C #5CD3C3
split-complementary
#875CD3 #D3C35C #6DD35C
monochromatic
#4C268E #6633BE #875CD3 #AA8CE0 #CEBCED

Accessibility & contrast

On white

4.67
#875CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#875CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD3#FFFFFF#000000##FFFFFF
##875CD31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2275D7
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#75758F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875cd3;
/* rgb */ color: rgb(135, 92, 211);
/* oklch */ color: oklch(57.8% 0.176 297.2);
Tailwind
colors: {
  custom: {
    50: '#ae8ce1',
    500: '#875cd3',
    950: '#000000',
  },
}
SCSS
$custom: #875cd3;
$custom-light: #ae8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd3",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 261.681,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.1765,
    "h": 297.2
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#875CD3
secondary
#CCDDAE
accent
#E147A9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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