#875BCF#875BCF

#875BCF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.173 H 298.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#875BCF
RGBrgb(135, 91, 207)
HSLhsl(263, 55%, 58%)
HSVhsv(263, 56%, 81%)
CMYKcmyk(34.8%, 56%, 0%, 18.8%)
CIE-LABlab(48.43, 42.60, -53.79)
CIE-LCHlch(48.43, 68.62, 308.38°)
OKLaboklab(57.34% 0.0819 -0.1524)
OKLCHoklch(57.34% 0.173 298.3)
XYZxyz(24.9925, 17.1378, 61.0106)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BCF #A3CF5B
analogous
#5B69CF #875BCF #C15BCF
triadic
#875BCF #CF875B #5BCF87
tetradic
#875BCF #CF5B69 #A3CF5B #5BCFC1
square
#875BCF #CF5B69 #A3CF5B #5BCFC1
split-complementary
#875BCF #CFC15B #69CF5B
monochromatic
#4C2888 #6736B7 #875BCF #AA8ADD #CCBAEB

Accessibility & contrast

On white

4.74
#875BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#875BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BCF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BCF#FFFFFF#000000##FFFFFF
##875BCF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#77738C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875bcf;
/* rgb */ color: rgb(135, 91, 207);
/* oklch */ color: oklch(57.3% 0.173 298.3);
Tailwind
colors: {
  custom: {
    50: '#ae8bde',
    500: '#875bcf',
    950: '#000000',
  },
}
SCSS
$custom: #875bcf;
$custom-light: #ae8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#875bcf",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 262.759,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.17303,
    "h": 298.3
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#875BCF
secondary
#C8DAAC
accent
#DE4AA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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