#875DCF#875DCF

#875DCF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.170 H 297.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#875DCF
RGBrgb(135, 93, 207)
HSLhsl(262, 54%, 59%)
HSVhsv(262, 55%, 81%)
CMYKcmyk(34.8%, 55.1%, 0%, 18.8%)
CIE-LABlab(48.86, 41.48, -53.10)
CIE-LCHlch(48.86, 67.38, 307.99°)
OKLaboklab(57.66% 0.0794 -0.1504)
OKLCHoklch(57.66% 0.17 297.8)
XYZxyz(25.1657, 17.4843, 61.0683)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DCF #A5CF5D
analogous
#5D6CCF #875DCF #C05DCF
triadic
#875DCF #CF875D #5DCF87
tetradic
#875DCF #CF5D6C #A5CF5D #5DCFC0
square
#875DCF #CF5D6C #A5CF5D #5DCFC0
split-complementary
#875DCF #CFC05D #6CCF5D
monochromatic
#4C2989 #6637B8 #875DCF #AA8CDD #CDBBEB

Accessibility & contrast

On white

4.67
#875DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#875DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875DCF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DCF#FFFFFF#000000##FFFFFF
##875DCF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#77748D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875dcf;
/* rgb */ color: rgb(135, 93, 207);
/* oklch */ color: oklch(57.7% 0.170 297.8);
Tailwind
colors: {
  custom: {
    50: '#ae8cde',
    500: '#875dcf',
    950: '#000000',
  },
}
SCSS
$custom: #875dcf;
$custom-light: #ae8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#875dcf",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 262.105,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.17006,
    "h": 297.8
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#875DCF
secondary
#CADAAD
accent
#DE4AA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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