#875FD2#875FD2

#875FD2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.171 H 296.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#875FD2
RGBrgb(135, 95, 210)
HSLhsl(261, 56%, 60%)
HSVhsv(261, 55%, 82%)
CMYKcmyk(35.7%, 54.8%, 0%, 17.6%)
CIE-LABlab(49.48, 41.13, -53.83)
CIE-LCHlch(49.48, 67.74, 307.39°)
OKLaboklab(58.17% 0.077 -0.1525)
OKLCHoklch(58.17% 0.171 296.8)
XYZxyz(25.7138, 17.9881, 63.0776)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD2 #AAD25F
analogous
#5F70D2 #875FD2 #C15FD2
triadic
#875FD2 #D2875F #5FD287
tetradic
#875FD2 #D25F70 #AAD25F #5FD2C1
square
#875FD2 #D25F70 #AAD25F #5FD2C1
split-complementary
#875FD2 #D2C15F #70D25F
monochromatic
#4C288F #6536BE #875FD2 #AB8FDF #CFBFED

Accessibility & contrast

On white

4.57
#875FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#875FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD2#FFFFFF#000000##000000
##875FD21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#76768F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd2;
/* rgb */ color: rgb(135, 95, 210);
/* oklch */ color: oklch(58.2% 0.171 296.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ee0',
    500: '#875fd2',
    950: '#000000',
  },
}
SCSS
$custom: #875fd2;
$custom-light: #ae8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 260.87,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.17085,
    "h": 296.8
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#875FD2
secondary
#CDDDB0
accent
#DF48AB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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