#875FA2#875FA2

#875FA2 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 55.4% C 0.110 H 310.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#875FA2
RGBrgb(135, 95, 162)
HSLhsl(276, 26%, 50%)
HSVhsv(276, 41%, 64%)
CMYKcmyk(16.7%, 41.4%, 0%, 36.5%)
CIE-LABlab(46.90, 29.23, -30.06)
CIE-LCHlch(46.90, 41.93, 314.20°)
OKLaboklab(55.41% 0.0715 -0.0832)
OKLCHoklch(55.41% 0.11 310.7)
XYZxyz(20.6043, 15.9443, 36.1675)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FA2 #7AA25F
analogous
#655FA2 #875FA2 #A25F9B
triadic
#875FA2 #A2875F #5FA287
tetradic
#875FA2 #A2655F #7AA25F #5F9BA2
square
#875FA2 #A2655F #7AA25F #5F9BA2
split-complementary
#875FA2 #9BA25F #5FA265
monochromatic
#473155 #67487C #875FA2 #A486B8 #C1ACCF

Accessibility & contrast

On white

5.01
#875FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#875FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FA2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FA2#FFFFFF#000000##FFFFFF
##875FA21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#846979
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875fa2;
/* rgb */ color: rgb(135, 95, 162);
/* oklch */ color: oklch(55.4% 0.110 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab8dbe',
    500: '#875fa2',
    950: '#000000',
  },
}
SCSS
$custom: #875fa2;
$custom-light: #ab8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#875fa2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 275.821,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.10977,
    "h": 310.7
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#875FA2
secondary
#ACBD9F
accent
#C3658B
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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