#875DB3#875DB3

#875DB3 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.135 H 305.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875DB3
RGBrgb(135, 93, 179)
HSLhsl(269, 36%, 53%)
HSVhsv(269, 48%, 70%)
CMYKcmyk(24.6%, 48%, 0%, 29.8%)
CIE-LABlab(47.28, 34.42, -39.44)
CIE-LCHlch(47.28, 52.35, 311.12°)
OKLaboklab(55.97% 0.0773 -0.1104)
OKLCHoklch(55.97% 0.135 305)
XYZxyz(22.0410, 16.2344, 44.6115)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DB3 #89B35D
analogous
#5D5EB3 #875DB3 #B25DB3
triadic
#875DB3 #B3875D #5DB387
tetradic
#875DB3 #B35D5E #89B35D #5DB3B2
square
#875DB3 #B35D5E #89B35D #5DB3B2
split-complementary
#875DB3 #B3B25D #5EB35D
monochromatic
#4A3066 #69438F #875DB3 #A687C7 #C5B0DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875DB3#FFFFFF#000000##FFFFFF
##875DB31.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)
#456FB6
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#806C7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875db3;
/* rgb */ color: rgb(135, 93, 179);
/* oklch */ color: oklch(56.0% 0.135 305.0);
Tailwind
colors: {
  custom: {
    50: '#ac8cca',
    500: '#875db3',
    950: '#000000',
  },
}
SCSS
$custom: #875db3;
$custom-light: #ac8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#875db3",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 269.302,
    "s": 36.134,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.13478,
    "h": 305
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#875DB3
secondary
#B6C8A3
accent
#CC5C95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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