#875FD7#875FD7

#875FD7 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.177 H 295.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#875FD7
RGBrgb(135, 95, 215)
HSLhsl(260, 60%, 61%)
HSVhsv(260, 56%, 84%)
CMYKcmyk(37.2%, 55.8%, 0%, 15.7%)
CIE-LABlab(49.79, 42.44, -56.18)
CIE-LCHlch(49.79, 70.42, 307.07°)
OKLaboklab(58.49% 0.0771 -0.1594)
OKLCHoklch(58.49% 0.177 295.8)
XYZxyz(26.3465, 18.2411, 66.4096)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD7 #AFD75F
analogous
#5F73D7 #875FD7 #C35FD7
triadic
#875FD7 #D7875F #5FD787
tetradic
#875FD7 #D75F73 #AFD75F #5FD7C3
square
#875FD7 #D75F73 #AFD75F #5FD7C3
split-complementary
#875FD7 #D7C35F #73D75F
monochromatic
#4B2696 #6432C7 #875FD7 #AC90E3 #D0C1EF

Accessibility & contrast

On white

4.52
#875FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#875FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD7#FFFFFF#000000##000000
##875FD71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DB
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#747892
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd7;
/* rgb */ color: rgb(135, 95, 215);
/* oklch */ color: oklch(58.5% 0.177 295.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ee4',
    500: '#875fd7',
    950: '#000000',
  },
}
SCSS
$custom: #875fd7;
$custom-light: #ae8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd7",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.17711,
    "h": 295.8
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#875FD7
secondary
#D0E0B2
accent
#C81E8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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