#875EBA#875EBA

#875EBA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.142 H 302.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#875EBA
RGBrgb(135, 94, 186)
HSLhsl(267, 40%, 55%)
HSVhsv(267, 49%, 73%)
CMYKcmyk(27.4%, 49.5%, 0%, 27.1%)
CIE-LABlab(47.88, 35.57, -42.56)
CIE-LCHlch(47.88, 55.47, 309.89°)
OKLaboklab(56.54% 0.0767 -0.1195)
OKLCHoklch(56.54% 0.142 302.7)
XYZxyz(22.8553, 16.7015, 48.4645)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EBA #91BA5E
analogous
#5E63BA #875EBA #B55EBA
triadic
#875EBA #BA875E #5EBA87
tetradic
#875EBA #BA5E63 #91BA5E #5EBAB5
square
#875EBA #BA5E63 #91BA5E #5EBAB5
split-complementary
#875EBA #BAB55E #63BA5E
monochromatic
#4B2F6E #694299 #875EBA #A789CC #C7B4DF

Accessibility & contrast

On white

4.84
#875EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#875EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EBA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EBA#FFFFFF#000000##FFFFFF
##875EBA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#4D71B8
Tritanopia (blue-blind)
#7E6F83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875eba;
/* rgb */ color: rgb(135, 94, 186);
/* oklch */ color: oklch(56.5% 0.142 302.7);
Tailwind
colors: {
  custom: {
    50: '#ac8dcf',
    500: '#875eba',
    950: '#000000',
  },
}
SCSS
$custom: #875eba;
$custom-light: #ac8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#875eba",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 266.739,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.14202,
    "h": 302.7
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#875EBA
secondary
#BCCDA7
accent
#D0589A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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