#875ABC#875ABC

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

Color values

HEX#875ABC
RGBrgb(135, 90, 188)
HSLhsl(268, 42%, 55%)
HSVhsv(268, 52%, 74%)
CMYKcmyk(28.2%, 52.1%, 0%, 26.3%)
CIE-LABlab(47.10, 38.35, -44.97)
CIE-LCHlch(47.10, 59.10, 310.46°)
OKLaboklab(55.99% 0.0824 -0.1265)
OKLCHoklch(55.99% 0.151 303.1)
XYZxyz(22.7229, 16.0941, 49.4766)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ABC #8FBC5A
analogous
#5A5EBC #875ABC #B85ABC
triadic
#875ABC #BC875A #5ABC87
tetradic
#875ABC #BC5A5E #8FBC5A #5ABCB8
square
#875ABC #BC5A5E #8FBC5A #5ABCB8
split-complementary
#875ABC #BCB85A #5EBC5A
monochromatic
#4B2D6F #693F9A #875ABC #A786CE #C6B1DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875ABC#FFFFFF#000000##FFFFFF
##875ABC1.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)
#396FBF
Deuteranopia (green-blind)
#476FBA
Tritanopia (blue-blind)
#7D6C82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875abc;
/* rgb */ color: rgb(135, 90, 188);
/* oklch */ color: oklch(56.0% 0.151 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad8ad1',
    500: '#875abc',
    950: '#000000',
  },
}
SCSS
$custom: #875abc;
$custom-light: #ad8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#875abc",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 267.551,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.15098,
    "h": 303.1
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#875ABC
secondary
#BBCEA4
accent
#D25699
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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