#875CD9#875CD9

#875CD9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.184 H 296.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#875CD9
RGBrgb(135, 92, 217)
HSLhsl(261, 62%, 61%)
HSVhsv(261, 58%, 85%)
CMYKcmyk(37.8%, 57.6%, 0%, 14.9%)
CIE-LABlab(49.27, 44.65, -58.15)
CIE-LCHlch(49.27, 73.31, 307.51°)
OKLaboklab(58.15% 0.0808 -0.1652)
OKLCHoklch(58.15% 0.184 296)
XYZxyz(26.3400, 17.8145, 67.6830)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD9 #AED95C
analogous
#5C6FD9 #875CD9 #C55CD9
triadic
#875CD9 #D9875C #5CD987
tetradic
#875CD9 #D95C6F #AED95C #5CD9C5
square
#875CD9 #D95C6F #AED95C #5CD9C5
split-complementary
#875CD9 #D9C55C #6FD95C
monochromatic
#4B2397 #642FC9 #875CD9 #AC8EE5 #D0BFF0

Accessibility & contrast

On white

4.60
#875CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#875CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD9#FFFFFF#000000##FFFFFF
##875CD91.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1576DD
Deuteranopia (green-blind)
#2A73D6
Tritanopia (blue-blind)
#737792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875cd9;
/* rgb */ color: rgb(135, 92, 217);
/* oklch */ color: oklch(58.2% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#af8ce5',
    500: '#875cd9',
    950: '#000000',
  },
}
SCSS
$custom: #875cd9;
$custom-light: #af8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd9",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 260.64,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.18389,
    "h": 296
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#875CD9
secondary
#D0E0B1
accent
#CA1C8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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