#875BCA#875BCA

#875BCA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.167 H 299.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875BCA
RGBrgb(135, 91, 202)
HSLhsl(264, 51%, 57%)
HSVhsv(264, 55%, 79%)
CMYKcmyk(33.2%, 55%, 0%, 20.8%)
CIE-LABlab(48.13, 41.31, -51.41)
CIE-LCHlch(48.13, 65.95, 308.79°)
OKLaboklab(57.02% 0.0818 -0.1454)
OKLCHoklch(57.02% 0.167 299.4)
XYZxyz(24.3909, 16.8971, 57.8421)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BCA #9ECA5B
analogous
#5B66CA #875BCA #BF5BCA
triadic
#875BCA #CA875B #5BCA87
tetradic
#875BCA #CA5B66 #9ECA5B #5BCABF
square
#875BCA #CA5B66 #9ECA5B #5BCABF
split-complementary
#875BCA #CABF5B #66CA5B
monochromatic
#4C2A81 #6839AF #875BCA #A989D9 #CBB8E8

Accessibility & contrast

On white

4.80
#875BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#875BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BCA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BCA#FFFFFF#000000##FFFFFF
##875BCA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#79718A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875bca;
/* rgb */ color: rgb(135, 91, 202);
/* oklch */ color: oklch(57.0% 0.167 299.4);
Tailwind
colors: {
  custom: {
    50: '#ae8bdb',
    500: '#875bca',
    950: '#000000',
  },
}
SCSS
$custom: #875bca;
$custom-light: #ae8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#875bca",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 263.784,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.16684,
    "h": 299.4
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#875BCA
secondary
#C5D7AA
accent
#DB4DA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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