#875FD4#875FD4

#875FD4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.173 H 296.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#875FD4
RGBrgb(135, 95, 212)
HSLhsl(261, 58%, 60%)
HSVhsv(261, 55%, 83%)
CMYKcmyk(36.3%, 55.2%, 0%, 16.9%)
CIE-LABlab(49.60, 41.65, -54.77)
CIE-LCHlch(49.60, 68.81, 307.25°)
OKLaboklab(58.3% 0.0771 -0.1553)
OKLCHoklch(58.3% 0.173 296.4)
XYZxyz(25.9645, 18.0884, 64.3980)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD4 #ACD45F
analogous
#5F71D4 #875FD4 #C15FD4
triadic
#875FD4 #D4875F #5FD487
tetradic
#875FD4 #D45F71 #ACD45F #5FD4C1
square
#875FD4 #D45F71 #ACD45F #5FD4C1
split-complementary
#875FD4 #D4C15F #71D45F
monochromatic
#4B2791 #6434C2 #875FD4 #AB8FE1 #CFBFEE

Accessibility & contrast

On white

4.55
#875FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#875FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD4#FFFFFF#000000##000000
##875FD41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2977D8
Deuteranopia (green-blind)
#3674D1
Tritanopia (blue-blind)
#757790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd4;
/* rgb */ color: rgb(135, 95, 212);
/* oklch */ color: oklch(58.3% 0.173 296.4);
Tailwind
colors: {
  custom: {
    50: '#ae8ee2',
    500: '#875fd4',
    950: '#000000',
  },
}
SCSS
$custom: #875fd4;
$custom-light: #ae8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd4",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 260.513,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.17335,
    "h": 296.4
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#875FD4
secondary
#CEDEB1
accent
#C5208D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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