#875ED2#875ED2

#875ED2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.172 H 297.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#875ED2
RGBrgb(135, 94, 210)
HSLhsl(261, 56%, 60%)
HSVhsv(261, 55%, 82%)
CMYKcmyk(35.7%, 55.2%, 0%, 17.6%)
CIE-LABlab(49.26, 41.69, -54.18)
CIE-LCHlch(49.26, 68.36, 307.58°)
OKLaboklab(58.01% 0.0783 -0.1535)
OKLCHoklch(58.01% 0.172 297)
XYZxyz(25.6243, 17.8091, 63.0477)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ED2 #A9D25E
analogous
#5E6FD2 #875ED2 #C15ED2
triadic
#875ED2 #D2875E #5ED287
tetradic
#875ED2 #D25E6F #A9D25E #5ED2C1
square
#875ED2 #D25E6F #A9D25E #5ED2C1
split-complementary
#875ED2 #D2C15E #6FD25E
monochromatic
#4C288E #6535BE #875ED2 #AB8EDF #CEBEED

Accessibility & contrast

On white

4.60
#875ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#875ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875ED2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875ED2#FFFFFF#000000##FFFFFF
##875ED21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#3774CF
Tritanopia (blue-blind)
#76768F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875ed2;
/* rgb */ color: rgb(135, 94, 210);
/* oklch */ color: oklch(58.0% 0.172 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae8de0',
    500: '#875ed2',
    950: '#000000',
  },
}
SCSS
$custom: #875ed2;
$custom-light: #ae8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#875ed2",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 261.207,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.17233,
    "h": 297
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#875ED2
secondary
#CCDCAF
accent
#E048AA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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