#875EB3#875EB3

#875EB3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.133 H 304.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#875EB3
RGBrgb(135, 94, 179)
HSLhsl(269, 36%, 54%)
HSVhsv(269, 47%, 70%)
CMYKcmyk(24.6%, 47.5%, 0%, 29.8%)
CIE-LABlab(47.51, 33.85, -39.08)
CIE-LCHlch(47.51, 51.70, 310.90°)
OKLaboklab(56.14% 0.0759 -0.1094)
OKLCHoklch(56.14% 0.133 304.7)
XYZxyz(22.1293, 16.4111, 44.6409)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EB3 #8AB35E
analogous
#5E5FB3 #875EB3 #B15EB3
triadic
#875EB3 #B3875E #5EB387
tetradic
#875EB3 #B35E5F #8AB35E #5EB3B1
square
#875EB3 #B35E5F #8AB35E #5EB3B1
split-complementary
#875EB3 #B3B15E #5FB35E
monochromatic
#4A3066 #694490 #875EB3 #A688C7 #C5B1DA

Accessibility & contrast

On white

4.90
#875EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#875EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EB3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EB3#FFFFFF#000000##FFFFFF
##875EB31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB6
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#806D80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875eb3;
/* rgb */ color: rgb(135, 94, 179);
/* oklch */ color: oklch(56.1% 0.133 304.7);
Tailwind
colors: {
  custom: {
    50: '#ac8cca',
    500: '#875eb3',
    950: '#000000',
  },
}
SCSS
$custom: #875eb3;
$custom-light: #ac8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#875eb3",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 268.941,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.13311,
    "h": 304.7
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#875EB3
secondary
#B7C9A4
accent
#CC5C96
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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