#875CD7#875CD7

#875CD7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.181 H 296.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#875CD7
RGBrgb(135, 92, 215)
HSLhsl(261, 61%, 60%)
HSVhsv(261, 57%, 84%)
CMYKcmyk(37.2%, 57.2%, 0%, 15.7%)
CIE-LABlab(49.14, 44.12, -57.22)
CIE-LCHlch(49.14, 72.25, 307.64°)
OKLaboklab(58.02% 0.0808 -0.1625)
OKLCHoklch(58.02% 0.181 296.4)
XYZxyz(26.0814, 17.7110, 66.3213)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD7 #ACD75C
analogous
#5C6ED7 #875CD7 #C55CD7
triadic
#875CD7 #D7875C #5CD787
tetradic
#875CD7 #D75C6E #ACD75C #5CD7C5
square
#875CD7 #D75C6E #ACD75C #5CD7C5
split-complementary
#875CD7 #D7C55C #6ED75C
monochromatic
#4B2494 #6530C5 #875CD7 #AB8DE3 #CFBEEF

Accessibility & contrast

On white

4.62
#875CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#875CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD7#FFFFFF#000000##FFFFFF
##875CD71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#747691
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875cd7;
/* rgb */ color: rgb(135, 92, 215);
/* oklch */ color: oklch(58.0% 0.181 296.4);
Tailwind
colors: {
  custom: {
    50: '#af8ce4',
    500: '#875cd7',
    950: '#000000',
  },
}
SCSS
$custom: #875cd7;
$custom-light: #af8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd7",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 260.976,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.18143,
    "h": 296.4
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#875CD7
secondary
#CEDFB0
accent
#C81D8C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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