#875CD8#875CD8

#875CD8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.183 H 296.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#875CD8
RGBrgb(135, 92, 216)
HSLhsl(261, 61%, 60%)
HSVhsv(261, 57%, 85%)
CMYKcmyk(37.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(49.21, 44.38, -57.69)
CIE-LCHlch(49.21, 72.78, 307.57°)
OKLaboklab(58.09% 0.0808 -0.1638)
OKLCHoklch(58.09% 0.183 296.2)
XYZxyz(26.2103, 17.7626, 67.0000)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD8 #ADD85C
analogous
#5C6FD8 #875CD8 #C55CD8
triadic
#875CD8 #D8875C #5CD887
tetradic
#875CD8 #D85C6F #ADD85C #5CD8C5
square
#875CD8 #D85C6F #ADD85C #5CD8C5
split-complementary
#875CD8 #D8C55C #6FD85C
monochromatic
#4B2496 #6430C7 #875CD8 #AB8DE4 #D0BFF0

Accessibility & contrast

On white

4.61
#875CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#875CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD8#FFFFFF#000000##FFFFFF
##875CD81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#2B73D5
Tritanopia (blue-blind)
#747691
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875cd8;
/* rgb */ color: rgb(135, 92, 216);
/* oklch */ color: oklch(58.1% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#af8ce5',
    500: '#875cd8',
    950: '#000000',
  },
}
SCSS
$custom: #875cd8;
$custom-light: #af8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd8",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 260.806,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58085,
    "c": 0.18266,
    "h": 296.2
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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