#875FD5#875FD5

#875FD5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.175 H 296.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#875FD5
RGBrgb(135, 95, 213)
HSLhsl(260, 58%, 60%)
HSVhsv(260, 55%, 84%)
CMYKcmyk(36.6%, 55.4%, 0%, 16.5%)
CIE-LABlab(49.66, 41.92, -55.24)
CIE-LCHlch(49.66, 69.35, 307.19°)
OKLaboklab(58.36% 0.0771 -0.1567)
OKLCHoklch(58.36% 0.175 296.2)
XYZxyz(26.0911, 18.1390, 65.0644)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD5 #ADD55F
analogous
#5F72D5 #875FD5 #C25FD5
triadic
#875FD5 #D5875F #5FD587
tetradic
#875FD5 #D55F72 #ADD55F #5FD5C2
square
#875FD5 #D55F72 #ADD55F #5FD5C2
split-complementary
#875FD5 #D5C25F #72D55F
monochromatic
#4B2793 #6433C3 #875FD5 #AB8FE2 #D0C0EE

Accessibility & contrast

On white

4.54
#875FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#875FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD5#FFFFFF#000000##000000
##875FD51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#3575D2
Tritanopia (blue-blind)
#757791
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd5;
/* rgb */ color: rgb(135, 95, 213);
/* oklch */ color: oklch(58.4% 0.175 296.2);
Tailwind
colors: {
  custom: {
    50: '#ae8ee2',
    500: '#875fd5',
    950: '#000000',
  },
}
SCSS
$custom: #875fd5;
$custom-light: #ae8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd5",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 260.339,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.1746,
    "h": 296.2
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#875FD5
secondary
#CFDEB1
accent
#C61F8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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