#875FD3#875FD3

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

Color values

HEX#875FD3
RGBrgb(135, 95, 211)
HSLhsl(261, 57%, 60%)
HSVhsv(261, 55%, 83%)
CMYKcmyk(36%, 55%, 0%, 17.3%)
CIE-LABlab(49.54, 41.39, -54.30)
CIE-LCHlch(49.54, 68.28, 307.32°)
OKLaboklab(58.23% 0.077 -0.1539)
OKLCHoklch(58.23% 0.172 296.6)
XYZxyz(25.8388, 18.0381, 63.7357)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD3 #ABD35F
analogous
#5F71D3 #875FD3 #C15FD3
triadic
#875FD3 #D3875F #5FD387
tetradic
#875FD3 #D35F71 #ABD35F #5FD3C1
square
#875FD3 #D35F71 #ABD35F #5FD3C1
split-complementary
#875FD3 #D3C15F #71D35F
monochromatic
#4C2890 #6535C0 #875FD3 #AB8FE0 #CFBFED

Accessibility & contrast

On white

4.56
#875FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#875FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD3#FFFFFF#000000##000000
##875FD31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#757790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd3;
/* rgb */ color: rgb(135, 95, 211);
/* oklch */ color: oklch(58.2% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ee1',
    500: '#875fd3',
    950: '#000000',
  },
}
SCSS
$custom: #875fd3;
$custom-light: #ae8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd3",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 260.69,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.1721,
    "h": 296.6
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#875FD3
secondary
#CEDDB1
accent
#E048AC
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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