#875BD9#875BD9

#875BD9 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.185 H 296.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#875BD9
RGBrgb(135, 91, 217)
HSLhsl(261, 62%, 60%)
HSVhsv(261, 58%, 85%)
CMYKcmyk(37.8%, 58.1%, 0%, 14.9%)
CIE-LABlab(49.06, 45.20, -58.49)
CIE-LCHlch(49.06, 73.92, 307.69°)
OKLaboklab(58% 0.0819 -0.1662)
OKLCHoklch(58% 0.185 296.2)
XYZxyz(26.2539, 17.6424, 67.6543)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD9 #ADD95B
analogous
#5B6ED9 #875BD9 #C65BD9
triadic
#875BD9 #D9875B #5BD987
tetradic
#875BD9 #D95B6E #ADD95B #5BD9C6
square
#875BD9 #D95B6E #ADD95B #5BD9C6
split-complementary
#875BD9 #D9C65B #6ED95B
monochromatic
#4B2397 #642EC8 #875BD9 #AB8DE5 #D0BEF0

Accessibility & contrast

On white

4.64
#875BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#875BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD9#FFFFFF#000000##FFFFFF
##875BD91.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#737691
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875bd9;
/* rgb */ color: rgb(135, 91, 217);
/* oklch */ color: oklch(58.0% 0.185 296.2);
Tailwind
colors: {
  custom: {
    50: '#af8be5',
    500: '#875bd9',
    950: '#000000',
  },
}
SCSS
$custom: #875bd9;
$custom-light: #af8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd9",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 260.952,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.18531,
    "h": 296.2
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#875BD9
secondary
#CFE0B0
accent
#CA1B8D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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