#875FB8#875FB8

#875FB8 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.138 H 303.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#875FB8
RGBrgb(135, 95, 184)
HSLhsl(267, 39%, 55%)
HSVhsv(267, 48%, 72%)
CMYKcmyk(26.6%, 48.4%, 0%, 27.8%)
CIE-LABlab(48.00, 34.50, -41.21)
CIE-LCHlch(48.00, 53.75, 309.93°)
OKLaboklab(56.59% 0.0751 -0.1156)
OKLCHoklch(56.59% 0.138 303)
XYZxyz(22.7337, 16.7960, 47.3824)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FB8 #90B85F
analogous
#5F64B8 #875FB8 #B35FB8
triadic
#875FB8 #B8875F #5FB887
tetradic
#875FB8 #B85F64 #90B85F #5FB8B3
square
#875FB8 #B85F64 #90B85F #5FB8B3
split-complementary
#875FB8 #B8B35F #64B85F
monochromatic
#4B306C #694397 #875FB8 #A789CB #C7B4DE

Accessibility & contrast

On white

4.82
#875FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#875FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FB8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FB8#FFFFFF#000000##FFFFFF
##875FB81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#7E6F83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875fb8;
/* rgb */ color: rgb(135, 95, 184);
/* oklch */ color: oklch(56.6% 0.138 303.0);
Tailwind
colors: {
  custom: {
    50: '#ac8dce',
    500: '#875fb8',
    950: '#000000',
  },
}
SCSS
$custom: #875fb8;
$custom-light: #ac8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#875fb8",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 266.966,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.13783,
    "h": 303
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#875FB8
secondary
#BBCCA7
accent
#CE599A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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