#875FBC#875FBC

#875FBC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.143 H 301.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#875FBC
RGBrgb(135, 95, 188)
HSLhsl(266, 41%, 55%)
HSVhsv(266, 49%, 74%)
CMYKcmyk(28.2%, 49.5%, 0%, 26.3%)
CIE-LABlab(48.22, 35.49, -43.19)
CIE-LCHlch(48.22, 55.90, 309.41°)
OKLaboklab(56.82% 0.0755 -0.1214)
OKLCHoklch(56.82% 0.143 301.9)
XYZxyz(23.1589, 16.9661, 49.6219)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FBC #94BC5F
analogous
#5F66BC #875FBC #B55FBC
triadic
#875FBC #BC875F #5FBC87
tetradic
#875FBC #BC5F66 #94BC5F #5FBCB5
square
#875FBC #BC5F66 #94BC5F #5FBCB5
split-complementary
#875FBC #BCB55F #66BC5F
monochromatic
#4C2F71 #69419C #875FBC #A78ACE #C8B5E0

Accessibility & contrast

On white

4.78
#875FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#875FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FBC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FBC#FFFFFF#000000##FFFFFF
##875FBC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#7D7085
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875fbc;
/* rgb */ color: rgb(135, 95, 188);
/* oklch */ color: oklch(56.8% 0.143 301.9);
Tailwind
colors: {
  custom: {
    50: '#ac8dd0',
    500: '#875fbc',
    950: '#000000',
  },
}
SCSS
$custom: #875fbc;
$custom-light: #ac8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#875fbc",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 265.806,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.14295,
    "h": 301.9
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#875FBC
secondary
#BECFA8
accent
#D1579C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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