#875BCC#875BCC

#875BCC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.169 H 298.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#875BCC
RGBrgb(135, 91, 204)
HSLhsl(263, 53%, 58%)
HSVhsv(263, 55%, 80%)
CMYKcmyk(33.8%, 55.4%, 0%, 20%)
CIE-LABlab(48.25, 41.83, -52.37)
CIE-LCHlch(48.25, 67.02, 308.62°)
OKLaboklab(57.14% 0.0819 -0.1482)
OKLCHoklch(57.14% 0.169 298.9)
XYZxyz(24.6292, 16.9925, 59.0973)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BCC #A0CC5B
analogous
#5B67CC #875BCC #BF5BCC
triadic
#875BCC #CC875B #5BCC87
tetradic
#875BCC #CC5B67 #A0CC5B #5BCCBF
square
#875BCC #CC5B67 #A0CC5B #5BCCBF
split-complementary
#875BCC #CCBF5B #67CC5B
monochromatic
#4C2984 #6737B2 #875BCC #A98ADB #CBB8E9

Accessibility & contrast

On white

4.77
#875BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#875BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BCC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BCC#FFFFFF#000000##FFFFFF
##875BCC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#3972C9
Tritanopia (blue-blind)
#78728B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875bcc;
/* rgb */ color: rgb(135, 91, 204);
/* oklch */ color: oklch(57.1% 0.169 298.9);
Tailwind
colors: {
  custom: {
    50: '#ae8bdc',
    500: '#875bcc',
    950: '#000000',
  },
}
SCSS
$custom: #875bcc;
$custom-light: #ae8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#875bcc",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 263.363,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.16931,
    "h": 298.9
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#875BCC
secondary
#C6D8AB
accent
#DC4CA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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