#875BD4#875BD4

#875BD4 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.179 H 297.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875BD4
RGBrgb(135, 91, 212)
HSLhsl(262, 58%, 59%)
HSVhsv(262, 57%, 83%)
CMYKcmyk(36.3%, 57.1%, 0%, 16.9%)
CIE-LABlab(48.74, 43.89, -56.15)
CIE-LCHlch(48.74, 71.27, 308.01°)
OKLaboklab(57.66% 0.082 -0.1593)
OKLCHoklch(57.66% 0.179 297.2)
XYZxyz(25.6134, 17.3862, 64.2810)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD4 #A8D45B
analogous
#5B6CD4 #875BD4 #C35BD4
triadic
#875BD4 #D4875B #5BD487
tetradic
#875BD4 #D45B6C #A8D45B #5BD4C3
square
#875BD4 #D45B6C #A8D45B #5BD4C3
split-complementary
#875BD4 #D4C35B #6CD45B
monochromatic
#4C268F #6632C0 #875BD4 #AA8BE1 #CEBCED

Accessibility & contrast

On white

4.69
#875BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#875BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD4#FFFFFF#000000##FFFFFF
##875BD41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D8
Deuteranopia (green-blind)
#2F72D1
Tritanopia (blue-blind)
#75748F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875bd4;
/* rgb */ color: rgb(135, 91, 212);
/* oklch */ color: oklch(57.7% 0.179 297.2);
Tailwind
colors: {
  custom: {
    50: '#ae8be2',
    500: '#875bd4',
    950: '#000000',
  },
}
SCSS
$custom: #875bd4;
$custom-light: #ae8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd4",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 261.818,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.17918,
    "h": 297.2
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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