#875EAF#875EAF

#875EAF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 55.9% C 0.128 H 306.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875EAF
RGBrgb(135, 94, 175)
HSLhsl(270, 34%, 53%)
HSVhsv(270, 46%, 69%)
CMYKcmyk(22.9%, 46.3%, 0%, 31.4%)
CIE-LABlab(47.30, 32.88, -37.07)
CIE-LCHlch(47.30, 49.55, 311.57°)
OKLaboklab(55.92% 0.0753 -0.1035)
OKLCHoklch(55.92% 0.128 306)
XYZxyz(21.7307, 16.2516, 42.5412)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EAF #86AF5E
analogous
#5E5EAF #875EAF #AF5EAF
triadic
#875EAF #AF875E #5EAF87
tetradic
#875EAF #AF5E5E #86AF5E #5EAFAF
square
#875EAF #AF5E5E #86AF5E #5EAFAF
split-complementary
#875EAF #AFAF5E #5EAF5E
monochromatic
#4A3162 #68458B #875EAF #A587C3 #C4B0D8

Accessibility & contrast

On white

4.94
#875EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#875EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EAF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EAF#FFFFFF#000000##FFFFFF
##875EAF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#5470AD
Tritanopia (blue-blind)
#816B7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875eaf;
/* rgb */ color: rgb(135, 94, 175);
/* oklch */ color: oklch(55.9% 0.128 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac8cc7',
    500: '#875eaf',
    950: '#000000',
  },
}
SCSS
$custom: #875eaf;
$custom-light: #ac8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#875eaf",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 270.37,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.12802,
    "h": 306
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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