#875FDC#875FDC

#875FDC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.183 H 294.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#875FDC
RGBrgb(135, 95, 220)
HSLhsl(259, 64%, 62%)
HSVhsv(259, 57%, 86%)
CMYKcmyk(38.6%, 56.8%, 0%, 13.7%)
CIE-LABlab(50.10, 43.77, -58.52)
CIE-LCHlch(50.10, 73.08, 306.79°)
OKLaboklab(58.82% 0.0772 -0.1663)
OKLCHoklch(58.82% 0.183 294.9)
XYZxyz(26.9988, 18.5021, 69.8450)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FDC #B4DC5F
analogous
#5F76DC #875FDC #C65FDC
triadic
#875FDC #DC875F #5FDC87
tetradic
#875FDC #DC5F76 #B4DC5F #5FDCC6
square
#875FDC #DC5F76 #B4DC5F #5FDCC6
split-complementary
#875FDC #DCC65F #76DC5F
monochromatic
#4A239E #622ED0 #875FDC #AD91E7 #D2C3F2

Accessibility & contrast

On white

4.47
#875FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#875FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FDC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FDC#FFFFFF#000000##000000
##875FDC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#727A94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fdc;
/* rgb */ color: rgb(135, 95, 220);
/* oklch */ color: oklch(58.8% 0.183 294.9);
Tailwind
colors: {
  custom: {
    50: '#af8ee8',
    500: '#875fdc',
    950: '#000000',
  },
}
SCSS
$custom: #875fdc;
$custom-light: #af8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#875fdc",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 259.2,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.18332,
    "h": 294.9
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#875FDC
secondary
#D4E3B4
accent
#CC1A93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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