#875FE5#875FE5

#875FE5 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.194 H 293.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875FE5
RGBrgb(135, 95, 229)
HSLhsl(258, 72%, 64%)
HSVhsv(258, 59%, 90%)
CMYKcmyk(41%, 58.5%, 0%, 10.2%)
CIE-LABlab(50.68, 46.17, -62.68)
CIE-LCHlch(50.68, 77.85, 306.38°)
OKLaboklab(59.43% 0.077 -0.1785)
OKLCHoklch(59.43% 0.194 293.3)
XYZxyz(28.2229, 18.9917, 76.2923)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE5 #BDE55F
analogous
#5F7AE5 #875FE5 #CA5FE5
triadic
#875FE5 #E5875F #5FE587
tetradic
#875FE5 #E55F7A #BDE55F #5FE5CA
square
#875FE5 #E55F7A #BDE55F #5FE5CA
split-complementary
#875FE5 #E5CA5F #7AE55F
monochromatic
#481CAD #602ADC #875FE5 #AE94EE #D6C8F6

Accessibility & contrast

On white

4.38
#875FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#875FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE5#FFFFFF#000000##000000
##875FE51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#6E7C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875fe5;
/* rgb */ color: rgb(135, 95, 229);
/* oklch */ color: oklch(59.4% 0.194 293.3);
Tailwind
colors: {
  custom: {
    50: '#b08eee',
    500: '#875fe5',
    950: '#000000',
  },
}
SCSS
$custom: #875fe5;
$custom-light: #b08eee;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe5",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 257.91,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5943,
    "c": 0.19443,
    "h": 293.3
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#875FE5
secondary
#D9E8B8
accent
#D4119A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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