#875DAF#875DAF

#875DAF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.130 H 306.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#875DAF
RGBrgb(135, 93, 175)
HSLhsl(271, 34%, 53%)
HSVhsv(271, 47%, 69%)
CMYKcmyk(22.9%, 46.9%, 0%, 31.4%)
CIE-LABlab(47.07, 33.46, -37.43)
CIE-LCHlch(47.07, 50.20, 311.79°)
OKLaboklab(55.74% 0.0768 -0.1046)
OKLCHoklch(55.74% 0.13 306.3)
XYZxyz(21.6423, 16.0749, 42.5118)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DAF #85AF5D
analogous
#5E5DAF #875DAF #AF5DAE
triadic
#875DAF #AF875D #5DAF87
tetradic
#875DAF #AF5E5D #85AF5D #5DAEAF
square
#875DAF #AF5E5D #85AF5D #5DAEAF
split-complementary
#875DAF #AEAF5D #5DAF5E
monochromatic
#493061 #68448A #875DAF #A586C3 #C4AFD7

Accessibility & contrast

On white

4.98
#875DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#875DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875DAF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DAF#FFFFFF#000000##FFFFFF
##875DAF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#816B7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875daf;
/* rgb */ color: rgb(135, 93, 175);
/* oklch */ color: oklch(55.7% 0.130 306.3);
Tailwind
colors: {
  custom: {
    50: '#ac8cc7',
    500: '#875daf',
    950: '#000000',
  },
}
SCSS
$custom: #875daf;
$custom-light: #ac8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#875daf",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 270.732,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.12971,
    "h": 306.3
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#875DAF
secondary
#B3C6A2
accent
#CA5E93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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