#875FBB#875FBB

#875FBB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.142 H 302.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#875FBB
RGBrgb(135, 95, 187)
HSLhsl(266, 40%, 55%)
HSVhsv(266, 49%, 73%)
CMYKcmyk(27.8%, 49.2%, 0%, 26.7%)
CIE-LABlab(48.16, 35.25, -42.70)
CIE-LCHlch(48.16, 55.37, 309.54°)
OKLaboklab(56.76% 0.0754 -0.1199)
OKLCHoklch(56.76% 0.142 302.2)
XYZxyz(23.0515, 16.9231, 49.0561)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FBB #93BB5F
analogous
#5F65BB #875FBB #B55FBB
triadic
#875FBB #BB875F #5FBB87
tetradic
#875FBB #BB5F65 #93BB5F #5FBBB5
square
#875FBB #BB5F65 #93BB5F #5FBBB5
split-complementary
#875FBB #BBB55F #65BB5F
monochromatic
#4C3070 #69429B #875FBB #A78ACD #C7B5E0

Accessibility & contrast

On white

4.79
#875FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875FBB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FBB#FFFFFF#000000##FFFFFF
##875FBB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#7D7084
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875fbb;
/* rgb */ color: rgb(135, 95, 187);
/* oklch */ color: oklch(56.8% 0.142 302.2);
Tailwind
colors: {
  custom: {
    50: '#ac8dd0',
    500: '#875fbb',
    950: '#000000',
  },
}
SCSS
$custom: #875fbb;
$custom-light: #ac8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#875fbb",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 266.087,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.14168,
    "h": 302.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#875FBB
secondary
#BDCEA8
accent
#D0589C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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